Commit 0546b174 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

print diff of expected/actual result on failing test case

parent dd3993c7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,5 +25,7 @@ if !(diff ${outfile} ${masterfile} &>/dev/null); then
  print_error "ERROR: output files do not match:\n    - actual: ${outfile}\n    - master: ${masterfile}"
  echo
  echo -e "If the modification is intended, fix by running:\n    cp ${outfile} ${masterfile}"
  echo
  diff ${outfile} ${masterfile}
  exit 1
fi