Print request URL when a test fails.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Jul 2008 07:45:19 +0000 (09:45 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Jul 2008 07:45:19 +0000 (09:45 +0200)
test/run_pazpar2.sh

index f199aad..e6ff6f2 100755 (executable)
@@ -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