From: Adam Dickmeiss Date: Tue, 22 Jul 2008 07:45:19 +0000 (+0200) Subject: Print request URL when a test fails. X-Git-Tag: v1.1.0~143 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=22b7353a4dc192972e84526b40bedf20b14c2a81;p=pazpar2-moved-to-github.git Print request URL when a test fails. --- 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