From: Benedikt Heine Date: Tue, 19 Jun 2018 15:15:28 +0000 (+0200) Subject: Show differing results, if testcase fails X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3status;a=commitdiff_plain;h=bffc9ed96226dd45a820b57405a98ca0858c1fcd Show differing results, if testcase fails --- diff --git a/travis/run-tests.pl b/travis/run-tests.pl index 960af2e..c335ff3 100755 --- a/travis/run-tests.pl +++ b/travis/run-tests.pl @@ -39,6 +39,8 @@ sub TestCase { return 1; } else { say "Testing test case '", basename($dir), "'… ", BOLD, RED, "Failed!", RESET; + say "Expected: '$refres'"; + say "Got: '$testres'"; return 0; } }