From 1469087f20579bf6955110296cd00f7f86eace61 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 12 May 2019 08:47:32 -0400 Subject: [PATCH] regression: Improve failure logging a bit. --- regression.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/regression.pl b/regression.pl index 6a80495..cd29cc6 100755 --- a/regression.pl +++ b/regression.pl @@ -130,12 +130,14 @@ if ($proc_count > 1 && $kid > 0) { $rval = run \@args; } if (!$rval) { - print("***** $row[0] $row[1] $row[2] $row[3] $row[4] ***** FAIL: backend $? $row[0] $row[1] $row[2] $row[3] $row[4]\n"); + print("***** $row[0] $row[1] $row[2] $row[3] $row[4] $copies ***** FAIL: $? \n"); $error++; } } - print "***** $row[0] $row[1] $row[2] $row[3] $row[4] ***** PASS\n"; + if ($error == 0) { + print "***** $row[0] $row[1] $row[2] $row[3] $row[4] ***** PASS\n"; + } } $retval = $error; close (INFILE);