diff mbox series

[1/3] acceptance-tests: libconfig and raw config

Message ID 20200527235314.16676-2-bastiangermann@fishpost.de
State Accepted
Headers show
Series acceptance-tests: improve conditions | expand

Commit Message

Bastian Germann May 27, 2020, 11:53 p.m. UTC
Two tests need CONFIG_RAW and CONFIG_LIBCONFIG.
Add the missing conditions.

Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
---
 scripts/acceptance-tests/CheckImage.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/scripts/acceptance-tests/CheckImage.mk b/scripts/acceptance-tests/CheckImage.mk
index bff7c24..795dba6 100644
--- a/scripts/acceptance-tests/CheckImage.mk
+++ b/scripts/acceptance-tests/CheckImage.mk
@@ -48,8 +48,8 @@  quiet_cmd_download = GET     $@
 #
 tests-y += FileNotFoundTest
 tests-y += CrapFileTest
-tests-y += ImgNameErrorTest
-tests-$(CONFIG_LIBCONFIG) += ValidImageTest
+tests-$(CONFIG_LIBCONFIG) += $(if $(CONFIG_RAW), ImgNameErrorTest)
+tests-$(CONFIG_LIBCONFIG) += $(if $(CONFIG_RAW), ValidImageTest)
 tests-y += InvOptsNoImg
 tests-$(CONFIG_MONGOOSE) += InvOptsCheckWithWeb
 tests-$(CONFIG_SURICATTA) += InvOptsCheckWithSur