From: Martin Pitt Date: Tue, 14 Feb 2017 07:47:29 +0000 (+0100) Subject: test: run valgrind-tests under $TESTS_ENVIRONMENT X-Git-Tag: v234~484^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=916b5002861473879088dfa3bb6dfaac9cfdcc68;p=platform%2Fupstream%2Fsystemd.git test: run valgrind-tests under $TESTS_ENVIRONMENT Otherwise we are missing $TEST_DIR for the test data and run the test against the system-installed binaries and keyboard/locale maps. --- diff --git a/Makefile.am b/Makefile.am index dbd4575..c725d6d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6613,7 +6613,7 @@ valgrind-tests: $(TESTS) if $(LIBTOOL) --mode=execute file $$f | grep -q shell; then \ echo -e "$${x}Skipping non-binary $$f"; else \ echo -e "$${x}Running $$f"; \ - $(LIBTOOL) --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \ + $(AM_TESTS_ENVIRONMENT) $(LIBTOOL) --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \ x="\n\n"; \ done