Minor Makefile and test driver improvements
author |
mas01cr |
date |
Thu, 27 Sep 2007 09:27:54 +0000 |
parents |
7da3a33d6674 |
children |
ec349966368c |
files |
Makefile tests/run-tests.sh |
diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/Makefile Thu Sep 27 09:15:34 2007 +0000
+++ b/Makefile Thu Sep 27 09:27:54 2007 +0000
@@ -31,5 +31,5 @@
-rm ${EXECUTABLE} ${EXECUTABLE}.1 audioDB.o
-sh -c "cd tests && sh ./clean.sh"
-test:
+test: ${EXECUTABLE}
-sh -c "cd tests && sh ./run-tests.sh"
--- a/tests/run-tests.sh Thu Sep 27 09:15:34 2007 +0000
+++ b/tests/run-tests.sh Thu Sep 27 09:27:54 2007 +0000
@@ -32,7 +32,7 @@
fi
done
-if [ -z ${FAILED} ]; then
+if [ -z "${FAILED}" ]; then
exit 0
else
exit 1