]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Better 'make check' output in case of failed test(s)
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 10 Mar 2017 08:21:01 +0000 (09:21 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 20 Sep 2017 16:42:58 +0000 (18:42 +0200)
tests/TESTonce
tests/TESTrun.sh

index 3be31f9aebcdda0299e5066e97a345f2dcfc1d73..340f3578c84f1fa24b500ae2c4e042d68dc7770e 100755 (executable)
@@ -42,7 +42,7 @@ if($r == 0) {
 }
 printf "    %-35s: TEST FAILED(%s)", $name, $r == -1 ? $! : "exit $?";
 open FOUT, '>>failure-outputs.txt';
-printf FOUT "Failed test: $name\n\n";
+printf FOUT "\nFailed test: $name\n\n";
 close FOUT;
 if(-f "DIFF/$output.diff") {
     system "cat DIFF/$output.diff >> failure-outputs.txt";
index 21aa0d9f88f59452516ca205418b0c4eb7f8e105..07bad6cbfa4138c4e11bc4a6493d1f4a5809475a 100755 (executable)
@@ -62,7 +62,6 @@ echo '------------------------------------------------'
 printf "%4u tests failed\n" $failed
 printf "%4u tests passed\n" $passed
 echo
-echo
 cat failure-outputs.txt
 echo
 echo