aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-29 11:16:55 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-29 11:16:55 +0000
commit40a3030b33e3995cd9baeecccc34cfe7fbe7ee43 (patch)
treee4137dbcc38095e9a95f9b2033867d83c384229d
parente1e822434c97cd7ccba63dd03463a80785182f96 (diff)
run tests without logging
svn path=/trunk/externals/zexy/; revision=15402
-rw-r--r--tests/Makefile.am2
-rwxr-xr-xtests/runtests.sh6
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f0b4422..d0d9455 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,7 @@
AUTOMAKE_OPTIONS = foreign
+TESTS_ENVIRONMENT = RUNTESTS_NOLOG=yes
+
TESTS=runtests.sh
EXTRA_DIST = \
diff --git a/tests/runtests.sh b/tests/runtests.sh
index 8907ce9..cbe3a92 100755
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -18,8 +18,6 @@ else
exit 77
fi
-
-#SUFFIX="$$"
SUFFIX=$(date +%y%m%d-%H%M%S)
RUNTESTS_TXT=runtests.txt
@@ -121,10 +119,12 @@ else
run_nogui
fi
+if [ "x${RUNTESTS_NOLOG}" = "x" ]; then
+ RUNTESTS_FINAL_LOG=
+fi
if [ "x${RUNTESTS_FINAL_LOG}" = "x" ]; then
:
else
- echo ${RUNTESTS_LOG} ... ${RUNTESTS_FINAL_LOG}
cat ${RUNTESTS_LOG} >> ${RUNTESTS_FINAL_LOG}
fi