]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- Run profiling tests first.
authorJason Kirtland <jek@discorporate.us>
Wed, 2 Apr 2008 17:55:11 +0000 (17:55 +0000)
committerJason Kirtland <jek@discorporate.us>
Wed, 2 Apr 2008 17:55:11 +0000 (17:55 +0000)
test/alltests.py

index 159b2d211e3ab588edd74460150415a6163138f5..b08d0af13d781b48e135c8f1218145e7d75052c7 100644 (file)
@@ -10,9 +10,12 @@ import ext.alltests as ext
 import zblog.alltests as zblog
 import profiling.alltests as profiling
 
+# The profiling tests are sensitive to foibles of CPython VM state, so
+# run them first.  Ideally, each should be run in a fresh interpreter.
+
 def suite():
     alltests = unittest.TestSuite()
-    for suite in (base, engine, sql, dialect, orm, ext, zblog, profiling):
+    for suite in (profiling, base, engine, sql, dialect, orm, ext, zblog):
         alltests.addTest(suite.suite())
     return alltests