Attention is currently required from: Nico Huber, Edward O'Callaghan, Angel Pons. Hello build bot (Jenkins), Nico Huber, Edward O'Callaghan, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/55295
to look at the new patch set (#3).
Change subject: tests: Do not run a test if its driver is not built ......................................................................
tests: Do not run a test if its driver is not built
For all tests that exist as of today, drivers are built by default, however config options can be disabled and in that case test should not be run.
Technically, this is done by skipping the test scenario, so the test itself is running empty.
BUG=b:181803212 TEST=Tested by adding into tests/meson.build -DCONFIG_xxx=0 4 times (for every driver with test), and then running ninja test Result: corresponding test is running empty, all other tests are running fine
Also running ninja test with default config settings (everything is enabled, no overriding in test meson). Result: all tests are running.
Change-Id: Ic1c48e41f658045a608f46636071f478ba646f77 Signed-off-by: Anastasia Klimchuk aklm@chromium.org --- M tests/init_shutdown.c 1 file changed, 10 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/95/55295/3