From 916b5002861473879088dfa3bb6dfaac9cfdcc68 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 14 Feb 2017 08:47:29 +0100 Subject: 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. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index dbd45754b2..c725d6d1ac 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 -- cgit v1.2.3-54-g00ecf