Skip to content

Commit 045f879

Browse files
[Tests] run_test_suite CLI improvements (project-chip#43541)
* tests: Use enum to encode commissioning method CLI option * tests: Move deprecated flags to the bottom of option list Also, make the style of existing options more uniform. * tests: Use TestRunTime as click.Choice * tests: Don't use inverse logic for log-timestamps option * Make runtime match exhaustive * Update usage of CHIP_NO_LOG_TIMESTAMPS to CHIP_LOG_TIMESTAMPS * Use new log timestamps flag format in other places * Fix style * Restyled by isort --------- Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com> Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 038f6c4 commit 045f879

41 files changed

Lines changed: 183 additions & 193 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ concurrency:
3333
cancel-in-progress: true
3434

3535
env:
36-
CHIP_NO_LOG_TIMESTAMPS: true
36+
CHIP_LOG_TIMESTAMPS: false
3737

3838
jobs:
3939
build_linux_gcc_debug:
@@ -522,7 +522,7 @@ jobs:
522522

523523
env:
524524
TSAN_OPTIONS: "halt_on_error=1 suppressions=scripts/tests/chiptest/tsan-linux-suppressions.txt"
525-
525+
526526
if: github.actor != 'restyled-io[bot]' && github.actor != 'dependabot[bot]' && inputs.run-codeql != true
527527
# Use namespace to get more disk space and slightly better performance (Compile and unit tests
528528
# are CPU bound)

.github/workflows/chef.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
env:
30-
CHIP_NO_LOG_TIMESTAMPS: true
30+
CHIP_LOG_TIMESTAMPS: false
3131

3232
jobs:
3333
chef_linux_all_devices:

.github/workflows/cirque.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ concurrency:
2828
cancel-in-progress: true
2929

3030
env:
31-
CHIP_NO_LOG_TIMESTAMPS: true
32-
31+
CHIP_LOG_TIMESTAMPS: false
32+
3333
jobs:
3434
cirque:
3535
name: Cirque
@@ -127,7 +127,7 @@ jobs:
127127
git config --global --add safe.directory '*' \
128128
&& scripts/tests/cirque_tests.sh run_all_tests \
129129
"
130-
130+
131131
132132
- name: Uploading Binaries
133133
uses: actions/upload-artifact@v7

.github/workflows/darwin-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929
cancel-in-progress: true
3030

3131
env:
32-
CHIP_NO_LOG_TIMESTAMPS: true
32+
CHIP_LOG_TIMESTAMPS: false
3333

3434
jobs:
3535
test_suites_chip_tool_darwin:

.github/workflows/darwin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ concurrency:
3131
cancel-in-progress: true
3232

3333
env:
34-
CHIP_NO_LOG_TIMESTAMPS: true
34+
CHIP_LOG_TIMESTAMPS: false
3535

3636
jobs:
3737
framework:
3838
name: Build framework
3939
if: github.actor != 'restyled-io[bot]'
40-
40+
4141
strategy:
4242
matrix:
4343
os: [ macos-26 ]

.github/workflows/example-tv-casting-darwin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ concurrency:
3131
cancel-in-progress: true
3232

3333
env:
34-
CHIP_NO_LOG_TIMESTAMPS: true
34+
CHIP_LOG_TIMESTAMPS: false
3535

3636
jobs:
3737
tv-casting-bridge:

.github/workflows/examples-ameba.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
env:
30-
CHIP_NO_LOG_TIMESTAMPS: true
30+
CHIP_LOG_TIMESTAMPS: false
3131

3232
jobs:
3333
ameba:

.github/workflows/examples-asr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
env:
30-
CHIP_NO_LOG_TIMESTAMPS: true
30+
CHIP_LOG_TIMESTAMPS: false
3131

3232
jobs:
3333
asr:

.github/workflows/examples-bouffalolab.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828
cancel-in-progress: true
2929

3030
env:
31-
CHIP_NO_LOG_TIMESTAMPS: true
31+
CHIP_LOG_TIMESTAMPS: false
3232

3333
jobs:
3434
bouffalolab:

.github/workflows/examples-cc13xx_26xx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929
'workflow_dispatch' && github.run_number) || github.sha }}
3030
cancel-in-progress: true
3131
env:
32-
CHIP_NO_LOG_TIMESTAMPS: true
32+
CHIP_LOG_TIMESTAMPS: false
3333

3434
jobs:
3535
cc13xx_26xx:

0 commit comments

Comments
 (0)