Commits

Anonymous committed 4aee519

more doppelganger tweaks for run_tests_sub.py

  • Participants
  • Parent commits 413424b

Comments (0)

Files changed (1)

File run_tests_sub.py

     return test_name, ret_code, response
 
 ################################################################################
-
 # Run all the tests
 
 os.chdir(main_dir)
 total_tests = len(all_dots)
 
 print all_dots
-print '\n'.join(failures).lstrip('\n')
-print "\n%s %s tests in %.3fs\n" % (RAN_TESTS_DIV, total_tests, t)
+if failures: print '\n'.join(failures).lstrip('\n')
+print "%s %s tests in %.3fs\n" % (RAN_TESTS_DIV, total_tests, t)
 
 if not failures:
     print 'OK'