Show More
@@ -881,8 +881,9 b' def runone(options, test, count):' | |||||
881 | return 's', test, msg |
|
881 | return 's', test, msg | |
882 |
|
882 | |||
883 | def fail(msg, ret): |
|
883 | def fail(msg, ret): | |
|
884 | warned = ret is False | |||
884 | if not options.nodiff: |
|
885 | if not options.nodiff: | |
885 |
log("\n |
|
886 | log("\n%s: %s %s" % (warned and 'Warning' or 'ERROR', test, msg)) | |
886 | if (not ret and options.interactive |
|
887 | if (not ret and options.interactive | |
887 | and os.path.exists(testpath + ".err")): |
|
888 | and os.path.exists(testpath + ".err")): | |
888 | iolock.acquire() |
|
889 | iolock.acquire() | |
@@ -895,7 +896,7 b' def runone(options, test, count):' | |||||
895 | else: |
|
896 | else: | |
896 | rename(testpath + ".err", testpath + ".out") |
|
897 | rename(testpath + ".err", testpath + ".out") | |
897 | return '.', test, '' |
|
898 | return '.', test, '' | |
898 | return '!', test, msg |
|
899 | return warned and '~' or '!', test, msg | |
899 |
|
900 | |||
900 | def success(): |
|
901 | def success(): | |
901 | return '.', test, '' |
|
902 | return '.', test, '' |
General Comments 0
You need to be logged in to leave comments.
Login now