summaryrefslogtreecommitdiff
path: root/tests/libobj10.test
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2012-02-29 20:21:30 +0100
committerPeter Rosin <peda@lysator.liu.se>2012-02-29 20:21:30 +0100
commit525f16c3a5b0d3141bcd92c5b9d7d715f9feffde (patch)
tree6930bfa3c78749e71a55a73336c2fe93110d3f22 /tests/libobj10.test
parent8bbb1486f1b85239ddfc6ece9a0df289bbbfbfbb (diff)
downloadautomake-525f16c3a5b0d3141bcd92c5b9d7d715f9feffde.tar.gz
tests: do not try to use ar(1) when $AR points to something else
* tests/libobj10.test: Move the archive listing commands to the Makefile, so that $AR - as determined by configure - can be used. * tests/libobj17.test: Likewise.
Diffstat (limited to 'tests/libobj10.test')
-rwxr-xr-xtests/libobj10.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/libobj10.test b/tests/libobj10.test
index a566b090c..f19de7492 100755
--- a/tests/libobj10.test
+++ b/tests/libobj10.test
@@ -36,6 +36,9 @@ BUILT_SOURCES = foo.c
CLEANFILES = foo.c
foo.c:
echo 'extern int dummy;' > $@
+.PHONY: debugging
+debugging:
+ $(AR) t libfoo.a
END
cp "$am_scriptdir/ar-lib" . || fatal_ "fetching auxiliary script 'ar-lib'"
@@ -47,7 +50,7 @@ $AUTOMAKE
./configure
$MAKE
-ar t libfoo.a # For debugging.
+$MAKE debugging
$MAKE distcheck
: