summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-11-15 17:36:37 +0100
committerSimo Sorce <simo@redhat.com>2015-01-15 13:26:51 -0500
commitd03b4267cd0b48526eff4b9a02a6434e60d30038 (patch)
tree6b3ccc902cef5702d167f500b9a95588b93158df
parent8d268e846228f3b2e3bcae59b2c7123affb7610f (diff)
downloadgss-proxy-d03b4267cd0b48526eff4b9a02a6434e60d30038.tar.gz
gss-proxy-d03b4267cd0b48526eff4b9a02a6434e60d30038.tar.xz
gss-proxy-d03b4267cd0b48526eff4b9a02a6434e60d30038.zip
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 Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--proxy/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/Makefile.am b/proxy/Makefile.am
index 8c160b0..289cfb9 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