diff options
author | Martin Pitt <martin@piware.de> | 2017-02-14 08:47:29 +0100 |
---|---|---|
committer | Martin Pitt <martin@piware.de> | 2017-02-16 21:36:30 +0100 |
commit | 916b5002861473879088dfa3bb6dfaac9cfdcc68 (patch) | |
tree | d9b0d40b4c8081557e6bb2e8036db39099a14021 | |
parent | 28d6adfcbd1d532e233d3da197cb4d819d1bdd8f (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.
-rw-r--r-- | Makefile.am | 2 |
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 |