]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Show the diffs of failed regressiontests
authorMark Schouten <mark@tuxis.nl>
Fri, 14 Nov 2014 15:35:58 +0000 (16:35 +0100)
committerMark Schouten <mark@tuxis.nl>
Fri, 14 Nov 2014 15:35:58 +0000 (16:35 +0100)
regression-tests.nobackend/runtests

index 2e9a38ca142327ff2eeabb43c7c79447b821df83..c780ba905402d8fa48e0acfcf60f20623168600b 100755 (executable)
@@ -7,7 +7,11 @@ export testsdir=$(pwd)
 failed_tests=`wc -l failed_tests | cut -f 1 -d ' '`
 if [ $failed_tests = 0 ];
 then
-        exit 0;
+    exit 0;
 else
-        exit 1;
+    for t in `cat failed_tests`; do
+        cat $t/diff
+    done
+
+    exit 1;
 fi