aboutsummaryrefslogtreecommitdiffstats
path: root/82802ab.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-06-21 10:29:18 +1000
committerNico Huber <nico.h@gmx.de>2021-06-25 13:16:57 +0000
commit20ff3d464ba20b385b84aa0eb132eeff3345accc (patch)
treef2d38281b6041cde447cae5014365ea83aca4c68 /82802ab.c
parentae836bd00f41b8d71ce1ef9e590016b5fd43263e (diff)
downloadflashrom-20ff3d464ba20b385b84aa0eb132eeff3345accc.tar.gz
flashrom-20ff3d464ba20b385b84aa0eb132eeff3345accc.tar.bz2
flashrom-20ff3d464ba20b385b84aa0eb132eeff3345accc.zip
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. BUG=b:181803212 TEST=1) 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 skipped, all other tests are passed 2) Running ninja test with default config settings (everything is enabled, no overriding in test meson). Result: all tests are passed. 3) Replacing one of config options in the patch with CONFIG_JLINK_SPI which is disabled by default. Result: corresponding test is skipped. Change-Id: Ic1c48e41f658045a608f46636071f478ba646f77 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55295 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to '82802ab.c')
0 files changed, 0 insertions, 0 deletions