summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMartin Pitt <martin@piware.de>2017-02-14 08:47:29 +0100
committerMartin Pitt <martin@piware.de>2017-02-16 21:36:30 +0100
commit916b5002861473879088dfa3bb6dfaac9cfdcc68 (patch)
treed9b0d40b4c8081557e6bb2e8036db39099a14021 /Makefile.am
parent28d6adfcbd1d532e233d3da197cb4d819d1bdd8f (diff)
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
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