comparison tests/run-tests.py @ 14867:b601b9eb372d

run-tests: fix summary when accepting changes interactively Accepted changes were not counted as success.
author Patrick Mezard <pmezard@gmail.com>
date Wed, 13 Jul 2011 19:23:08 +0200
parents 760d2dae4839
children 0b21ae0a2366
comparison
equal deleted inserted replaced
14860:67add0f24f83 14867:b601b9eb372d
724 if answer.lower() in "y yes".split(): 724 if answer.lower() in "y yes".split():
725 if test.endswith(".t"): 725 if test.endswith(".t"):
726 rename(testpath + ".err", testpath) 726 rename(testpath + ".err", testpath)
727 else: 727 else:
728 rename(testpath + ".err", testpath + ".out") 728 rename(testpath + ".err", testpath + ".out")
729 result('p', test)
729 return 730 return
730 result('f', (test, msg)) 731 result('f', (test, msg))
731 732
732 def success(): 733 def success():
733 result('p', test) 734 result('p', test)