##// END OF EJS Templates
run-tests: regroup nested functions
Matt Mackall -
r19244:eee43d76 default
parent child Browse files
Show More
@@ -874,6 +874,11 b' def runone(options, test):'
874 def ignore(msg):
874 def ignore(msg):
875 result('i', (test, msg))
875 result('i', (test, msg))
876
876
877 def describe(ret):
878 if ret < 0:
879 return 'killed by signal %d' % -ret
880 return 'returned error code %d' % ret
881
877 if not os.path.exists(test):
882 if not os.path.exists(test):
878 skip("doesn't exist")
883 skip("doesn't exist")
879 return None
884 return None
@@ -967,11 +972,6 b' def runone(options, test):'
967 f.write(line)
972 f.write(line)
968 f.close()
973 f.close()
969
974
970 def describe(ret):
971 if ret < 0:
972 return 'killed by signal %d' % -ret
973 return 'returned error code %d' % ret
974
975 if skipped:
975 if skipped:
976 mark = 's'
976 mark = 's'
977 if out is None: # debug mode: nothing to parse
977 if out is None: # debug mode: nothing to parse
General Comments 0
You need to be logged in to leave comments. Login now