diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-04 11:28:29 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-04 11:28:29 -0800 |
commit | 699d78bcfe99f64dea473d91c901c833dc02d936 (patch) | |
tree | c112c1ecb0991da66cf81979788c60ca9ad24d5b /tests/test.fish | |
parent | 7d345018af99dcb02ed7a347e0ed9adf3d9bffc8 (diff) |
Make the test harness output file diffs on failure
Diffstat (limited to 'tests/test.fish')
-rwxr-xr-x | tests/test.fish | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test.fish b/tests/test.fish index 2b796ef8..7573b400 100755 --- a/tests/test.fish +++ b/tests/test.fish @@ -60,13 +60,15 @@ for i in *.in if diff tmp.out $template_out >/dev/null else set res fail - echo Output differs for file $i + echo Output differs for file $i. Diff follows: + diff tmp.out $template_out end if diff tmp.err $template_err >/dev/null else set res fail - echo Error output differs for file $i + echo Error output differs for file $i. Diff follows: + diff tmp.err $template_err end if test (cat tmp.status) = (cat $template_status) |