aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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