From 8ca47e3b20f17545e6fcc89e0940d485158308ef Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 17 Sep 2010 11:40:10 +0100 Subject: [PATCH] build: Use the power of abs_builddir When calling test-conformance to get the list of conformance tests. --- tests/conform/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conform/Makefile.am b/tests/conform/Makefile.am index 778f885..3036639 100644 --- a/tests/conform/Makefile.am +++ b/tests/conform/Makefile.am @@ -91,7 +91,7 @@ wrappers: stamp-test-conformance @true stamp-test-conformance: Makefile test-conformance$(EXEEXT) @mkdir -p wrappers - @( ./test-conformance$(EXEEXT) -l -m thorough | $(GREP) '^/' ) > unit-tests + @( $(abs_builddir)/test-conformance$(EXEEXT) -l -m thorough | $(GREP) '^/' ) > unit-tests @chmod +x test-launcher.sh @( echo "/stamp-test-conformance" ; \ echo "/test-conformance" ; \ @@ -106,7 +106,7 @@ stamp-test-conformance: Makefile test-conformance$(EXEEXT) unit=`basename $$i | sed -e s/_/-/g`; \ echo " GEN $$unit"; \ ( echo "#!/bin/sh" ; echo "$(abs_builddir)/test-launcher.sh '$$i' \"\$$@\"" ) > $$unit$(EXEEXT) ; \ - ( echo "#!/bin/sh" ; echo "exec ./test-conformance$(EXEEXT) -p $$i \"\$$@\"" ) > wrappers/$$unit$(EXEEXT) ; \ + ( echo "#!/bin/sh" ; echo "exec $(abs_builddir)/test-conformance$(EXEEXT) -p $$i \"\$$@\"" ) > wrappers/$$unit$(EXEEXT) ; \ chmod +x $$unit$(EXEEXT); \ chmod +x wrappers/$$unit$(EXEEXT); \ echo "/$$unit$(EXEEXT)" >> .gitignore; \ -- 2.7.4