From d9dce78a3bf0b2e95157e1e85b69d67af55965ab Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Wed, 2 Apr 2008 17:55:11 +0000 Subject: [PATCH] - Run profiling tests first. --- test/alltests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/alltests.py b/test/alltests.py index 159b2d211e..b08d0af13d 100644 --- a/test/alltests.py +++ b/test/alltests.py @@ -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 -- 2.47.3