diff mbox series

[API-NEXT,PATCHv10,4/5] test: preventing odp.conf loading for tests

Message ID 1484844861-1302-5-git-send-email-christophe.milard@linaro.org
State Superseded
Headers show
Series driver initialisation framework | expand

Commit Message

Christophe Milard Jan. 19, 2017, 4:54 p.m. UTC
The tests should not be affected by any system or user ODP configuration
file. The ODP_SYSCONFIG_FILE environment variables is therefore set
to "none" in TESTS_ENVIRONMENT.
Tests which need specific a configuration file will have to overwrite
this setting.
Note that tests ran manually (not using make check) may be affected
by configuration files. Setting ODP_SYSCONFIG_FILE to an appropriate value
(possibly "none") may be required.

Signed-off-by: Christophe Milard <christophe.milard@linaro.org>

---
 test/Makefile.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/test/Makefile.inc b/test/Makefile.inc
index 1ebc047..896f863 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -22,4 +22,6 @@  AM_LDFLAGS += -L$(LIB)
 @VALGRIND_CHECK_RULES@
 valgrind_tools = memcheck
 
-TESTS_ENVIRONMENT= ODP_PLATFORM=${with_platform} EXEEXT=${EXEEXT}
+TESTS_ENVIRONMENT = ODP_PLATFORM=${with_platform} \
+		    EXEEXT=${EXEEXT} \
+		    ODP_SYSCONFIG_FILE=none