Skip to content

sanitycheck --platform <foo> doesn't filter tests properly (any longer) #573

Closed
zephyrproject-rtos/zephyr-testing
#349
@pfalcon

Description

@pfalcon

This is primarily reported against https://ci.linaro.org/view/lite-iot-ci/job/zephyr-upstream/796/PLATFORM=96b_carbon,ZEPHYR_GCC_VARIANT=zephyr,label=docker-xenial-amd64-13/consoleFull (Linaro Zephyr CI Jenkins job), which has following build log (for 60e752a):

+ sanitycheck --platform 96b_carbon --inline-logs --build-only --outdir /home/buildslave/srv/zephyr/zephyr/96b_carbon --no-clean --enable-slow --ccache
Building testcase defconfigs...
5107 tests selected, 13193 tests discarded due to filters
96b_carbon                tests/crypto/ecc_dsa/test                          PASSED
zedboard_pulpino          tests/kernel/context/test                          PASSED
qemu_nios2                tests/kernel/mem_pool/mem_pool/test                PASSED
cc3200_launchxl           samples/drivers/random/test                        PASSED
...

As can be seen, --platform 96b_carbon option didn't seem to work, instead tests for all archs and platforms get selected.

The suspicion is that this started to happen after a792a3d refactor.

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions