1.1 --- a/test_all.py Sun Jul 03 22:51:51 2011 +0200
1.2 +++ b/test_all.py Mon Jul 04 23:50:02 2011 +0200
1.3 @@ -38,7 +38,12 @@
1.4
1.5 for filename in filenames:
1.6 print "Processing", filename
1.7 - success = 0 == os.system("%s test.py %s %s" % (sys.executable, filename, " ".join(args)))
1.8 + status = os.system("%s test.py %s %s" % (sys.executable, filename, " ".join(args)))
1.9 + if status == 2:
1.10 + print "Interrupted!"
1.11 + break
1.12 +
1.13 + success = status == 0
1.14 print "Test successful?", success and "Yes" or "No"
1.15 results.append((filename, success))
1.16