summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-04-12 02:29:33 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2007-04-12 02:31:03 +0100
commita8974223dc6376a11588c6ecf1e54da5329b9c72 (patch)
tree67ee0395502b93a02c86ff899e30c9216b281f59 /test
parent632ec8088cef5e9d4c2ff2886cfd550d706433e4 (diff)
Check for find and xargs during configure
Replace hard-coded find, xargs and rm with the paths determined during configure. This also gives us an opportunity to detect missing programs and inform the developer.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 3a7deaebe..a6adec799 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -525,12 +525,12 @@ CLEANFILES = \
# most systems cannot handle all of our clean files together
clean-local:
- -find . -name '*.ps' -print | xargs rm
- -find . -name '*.pdf' -print | xargs rm
- -find . -name '*.svg' -print | xargs rm
- -find . -name '*-out.png' -print | xargs rm
- -find . -name '*-diff.png' -print | xargs rm
- -find . -name '*.log' -print | xargs rm
+ -${FIND} . -name '*.ps' -print | ${XARGS} ${RM}
+ -${FIND} . -name '*.pdf' -print | ${XARGS} ${RM}
+ -${FIND} . -name '*.svg' -print | ${XARGS} ${RM}
+ -${FIND} . -name '*-out.png' -print | ${XARGS} ${RM}
+ -${FIND} . -name '*-diff.png' -print | ${XARGS} ${RM}
+ -${FIND} . -name '*.log' -print | ${XARGS} ${RM}
# Check tests under valgrind
# Saves log to valgrind-log