All pastes #575576 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-19 03:26 UTC
rendered paste body
Index: /home/heikki/workspace/chandler/tools/rt.py
===================================================================
--- /home/heikki/workspace/chandler/tools/rt.py	(revision 14739)
+++ /home/heikki/workspace/chandler/tools/rt.py	(working copy)
@@ -1594,39 +1594,38 @@
             except OSError:
                 pass
 
-        failed = runLocalizationCheck(options)
-
-        if not failed:
-            if options.testcase:
-                failed = runTestCase(options)
-            elif options.single:
-                failed = runSingles(options)
-            else:
-                if options.unit:
-                    failed = runUnitTests(options)
-                    if not failed or options.noStop:
-                        if runPluginTests(options):
-                            failed = True
+        if options.testcase:
+            failed = runTestCase(options)
+        elif options.single:
+            failed = runSingles(options)
+        else:
+            failed = runLocalizationCheck(options)
 
-                if options.unitSuite and (not failed or options.noStop):
-                    if runUnitSuite(options):
+            if options.unit and (not failed or options.noStop):
+                failed = runUnitTests(options)
+                if not failed or options.noStop:
+                    if runPluginTests(options):
                         failed = True
 
-                if options.funcSuite and (not failed or options.noStop):
-                    if runFuncTest(options):
-                        failed = True
+            if options.unitSuite and (not failed or options.noStop):
+                if runUnitSuite(options):
+                    failed = True
+
+            if options.funcSuite and (not failed or options.noStop):
+                if runFuncTest(options):
+                    failed = True
 
-                if options.func and (not failed or options.noStop):
-                    if runFuncTestsSingly(options):
-                        failed = True
+            if options.func and (not failed or options.noStop):
+                if runFuncTestsSingly(options):
+                    failed = True
 
-                if options.recorded and (not failed or options.noStop):
-                    if runRecordedScripts(options):
-                        failed = True
+            if options.recorded and (not failed or options.noStop):
+                if runRecordedScripts(options):
+                    failed = True
 
-                if options.perf and (not failed or options.noStop):
-                    if runPerfTests(options):
-                        failed = True
+            if options.perf and (not failed or options.noStop):
+                if runPerfTests(options):
+                    failed = True
 
         if len(failedTests) > 0:
             log('+-' * 32)