From 22b7353a4dc192972e84526b40bedf20b14c2a81 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 22 Jul 2008 09:45:19 +0200 Subject: [PATCH] Print request URL when a test fails. --- test/run_pazpar2.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index f199aad..e6ff6f2 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -34,7 +34,7 @@ URLS=${PREFIX}_urls if test "$usevalgrind"; then valgrind --log-file=valgrind ../src/pazpar2 -X -l pazpar2.log -f ${CFG} -t ${srcdir}/test_http.xml >extra_pazpar2.log 2>&1 & else - ../src/pazpar2 -X -l pazpar2.log -f ${srcdir}/${CFG} -t ${srcdir}/test_http.xml >extra_pazpar2.log 2>&1 & + YAZ_LOG=zoom,zoomdetails,debug,log,fatal ../src/pazpar2 -X -l pazpar2.log -f ${srcdir}/${CFG} -t ${srcdir}/test_http.xml >extra_pazpar2.log 2>&1 & fi @@ -79,6 +79,7 @@ for f in `cat ${srcdir}/${URLS}`; do : else echo "Test $testno: Failed. See $OUT1, $OUT2 and $DIFF" + echo "URL: $f" code=1 fi else -- 1.7.10.4