Commits

Anonymous committed 4395792

nightly commit

  • Participants
  • Parent commits d344a48

Comments (0)

Files changed (1)

 
 ################################### CONSTANTS ##################################
 
-# If an xxxx_test.py take longer than TIME_OUT seconds it will be killed
+# If an xxxx_test.py takes longer than TIME_OUT seconds it will be killed
 TIME_OUT = 30
 
 # Any tests in IGNORE will not be ran
     all_dots += dots
 
     if 'E' in dots or 'F' in dots:
-        failure = ret.split(RAN_TESTS_DIV)[0][ret.index(dots)+len(dots):]
+        failure = ret[len(dots):].split(RAN_TESTS_DIV)[0]
         failures.append (
             failure.replace( "(__main__.", "(%s." % module)
         )
 else:
     print 'FAILED (%s)' % ', '.join (
         (total_fails  and ["failures=%s" % total_fails] or []) +
-        (total_errors and ["errors=%s"  % total_errors] or []) + 
+        (total_errors and ["errors=%s"  % total_errors] or []) +
         (complete_failures and ["complete_failures=%s" % complete_failures] or [])
     )