Skip to content

Commit c14b022

Browse files
committed
ci: twister: add --no-detailed-test-id
Switch to short test identifier in reporting. Part of a series of changes to improve reporting and remove duplication and clutter when running twister. Signed-off-by: Anas Nashif <[email protected]>
1 parent e11aeca commit c14b022

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/clang.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ jobs:
107107
export ZEPHYR_TOOLCHAIN_VARIANT=llvm
108108
109109
# check if we need to run a full twister or not based on files changed
110-
python3 ./scripts/ci/test_plan.py --platform ${{ matrix.platform }} -c origin/${BASE_REF}..
110+
python3 ./scripts/ci/test_plan.py --no-detailed-test-id --platform ${{ matrix.platform }} -c origin/${BASE_REF}..
111111
112112
# We can limit scope to just what has changed
113113
if [ -s testplan.json ]; then
114114
echo "report_needed=1" >> $GITHUB_OUTPUT
115115
# Full twister but with options based on changes
116-
./scripts/twister --force-color --inline-logs -M -N -v --load-tests testplan.json --retry-failed 2
116+
./scripts/twister --no-detailed-test-id --force-color --inline-logs -M -N -v --load-tests testplan.json --retry-failed 2
117117
else
118118
# if nothing is run, skip reporting step
119119
echo "report_needed=0" >> $GITHUB_OUTPUT

.github/workflows/twister-prep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
run: |
8484
export ZEPHYR_BASE=${PWD}
8585
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
86-
python3 ./scripts/ci/test_plan.py -c origin/${BASE_REF}.. --pull-request -t $TESTS_PER_BUILDER
86+
python3 ./scripts/ci/test_plan.py -c origin/${BASE_REF}.. --no-detailed-test-id --pull-request -t $TESTS_PER_BUILDER
8787
if [ -s .testplan ]; then
8888
cat .testplan >> $GITHUB_ENV
8989
else

.github/workflows/twister.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
CCACHE_IGNOREOPTIONS: '-specs=* --specs=*'
4545
BSIM_OUT_PATH: /opt/bsim/
4646
BSIM_COMPONENTS_PATH: /opt/bsim/components
47-
TWISTER_COMMON: ' --force-color --inline-logs -v -N -M --retry-failed 3 --timeout-multiplier 2 '
47+
TWISTER_COMMON: '--no-detailed-test-id --force-color --inline-logs -v -N -M --retry-failed 3 --timeout-multiplier 2 '
4848
DAILY_OPTIONS: ' -M --build-only --all --show-footprint'
4949
PR_OPTIONS: ' --clobber-output --integration'
5050
PUSH_OPTIONS: ' --clobber-output -M --show-footprint --report-filtered'

0 commit comments

Comments
 (0)