comparison tests/run-tests.py @ 21538:05925bb5f95a

run-tests: fix invalid reference to stringescape after a36cc85a5b7b
author Mads Kiilerich <madski@unity3d.com>
date Sun, 25 May 2014 13:47:19 +0200
parents 92a6b16c9186
children 0c4077905932
comparison
equal deleted inserted replaced
21537:1ab30e9ba0fc 21538:05925bb5f95a
880 r = False 880 r = False
881 if r: 881 if r:
882 postout.append(' ' + el) 882 postout.append(' ' + el)
883 else: 883 else:
884 if self.NEEDESCAPE(lout): 884 if self.NEEDESCAPE(lout):
885 lout = TTest.stringescape('%s (esc)\n' % 885 lout = TTest._stringescape('%s (esc)\n' %
886 lout.rstrip('\n')) 886 lout.rstrip('\n'))
887 postout.append(' ' + lout) # Let diff deal with it. 887 postout.append(' ' + lout) # Let diff deal with it.
888 if r != '': # If line failed. 888 if r != '': # If line failed.
889 warnonly = 3 # for sure not 889 warnonly = 3 # for sure not
890 elif warnonly == 1: # Is "not yet" and line is warn only. 890 elif warnonly == 1: # Is "not yet" and line is warn only.
891 warnonly = 2 # Yes do warn. 891 warnonly = 2 # Yes do warn.