##// END OF EJS Templates
run-tests: display diff before prompting with --interactive
Patrick Mezard -
r14006:a3955756 default
parent child Browse files
Show More
@@ -826,17 +826,17 b' def runone(options, test):'
826 826 fail("timed out", ret)
827 827 elif out != refout:
828 828 mark = '!'
829 if ret:
830 fail("output changed and returned error code %d" % ret, ret)
831 else:
832 fail("output changed", ret)
833 if ret != 'timeout' and not options.nodiff:
829 if not options.nodiff:
834 830 iolock.acquire()
835 831 if options.view:
836 832 os.system("%s %s %s" % (options.view, ref, err))
837 833 else:
838 834 showdiff(refout, out, ref, err)
839 835 iolock.release()
836 if ret:
837 fail("output changed and returned error code %d" % ret, ret)
838 else:
839 fail("output changed", ret)
840 840 ret = 1
841 841 elif ret:
842 842 mark = '!'
General Comments 0
You need to be logged in to leave comments. Login now