>From 5cfde934a1b19c46f5c4e82cd3a3aa963e576818 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Sat, 15 Nov 2014 17:36:37 +0100 Subject: [PATCH 2/8] BUILD: Tests did not work from parallel directory mkdir build_dir cd build_dir ../configiure make tests ./tests/runtests.py make: ./tests/runtests.py: Command not found Makefile:2010: recipe for target 'tests' failed make: *** [tests] Error 127 make test_proxymech TMPDIR=tests/scripts/ ./tests/scripts/dlopen.sh ./.libs/proxymech.so || exit 1 /bin/sh: ./tests/scripts/dlopen.sh: No such file or directory Makefile:2056: recipe for target 'test_proxymech' failed make: *** [test_proxymech] Error 1 --- proxy/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/Makefile.am b/proxy/Makefile.am index 8c160b0c2fc66cab6125c0bf5914fe3dc4318b6e..289cfb974b478312eeec07a8b22abc080b58b39a 100644 --- a/proxy/Makefile.am +++ b/proxy/Makefile.am @@ -264,7 +264,7 @@ clean-local: CLEANFILES = *.X */*.X */*/*.X tests: all $(check_PROGRAMS) - ./tests/runtests.py + $(srcdir)/tests/runtests.py # RPM-related tasks @@ -320,4 +320,4 @@ endif #################### test_proxymech: - TMPDIR=tests/scripts/ ./tests/scripts/dlopen.sh ./.libs/proxymech.so || exit 1 + TMPDIR=tests/scripts/ $(srcdir)/tests/scripts/dlopen.sh ./.libs/proxymech.so || exit 1 -- 2.1.0