equal
deleted
inserted
replaced
242 if os.path.exists(ref): |
242 if os.path.exists(ref): |
243 f = open(ref, "r") |
243 f = open(ref, "r") |
244 ref_out = splitnewlines(f.read()) |
244 ref_out = splitnewlines(f.read()) |
245 f.close() |
245 f.close() |
246 else: |
246 else: |
247 ref_out = [''] |
247 ref_out = [] |
248 if out != ref_out: |
248 if out != ref_out: |
249 diffret = 1 |
249 diffret = 1 |
250 print "\nERROR: %s output changed" % (test) |
250 print "\nERROR: %s output changed" % (test) |
251 show_diff(ref_out, out) |
251 show_diff(ref_out, out) |
252 if ret: |
252 if ret: |