Show More
@@ -182,10 +182,12 def run_one(test): | |||||
182 | f = open(ref, "r") |
|
182 | f = open(ref, "r") | |
183 | ref_out = f.read().splitlines() |
|
183 | ref_out = f.read().splitlines() | |
184 | f.close() |
|
184 | f.close() | |
185 | if out != ref_out: |
|
185 | else: | |
186 |
|
|
186 | ref_out = '' | |
187 | print "\nERROR: %s output changed" % (test) |
|
187 | if out != ref_out: | |
188 | show_diff(ref_out, out) |
|
188 | diffret = 1 | |
|
189 | print "\nERROR: %s output changed" % (test) | |||
|
190 | show_diff(ref_out, out) | |||
189 | if ret: |
|
191 | if ret: | |
190 | print "\nERROR: %s failed with error code %d" % (test, ret) |
|
192 | print "\nERROR: %s failed with error code %d" % (test, ret) | |
191 | elif diffret: |
|
193 | elif diffret: |
General Comments 0
You need to be logged in to leave comments.
Login now