From 1c4176f59c26150a88f26d0e89d6019a2c38c614 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 14 May 2008 21:56:17 +0200 Subject: [PATCH] skip off compiler error tests if we don't run the compiler --- runtests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtests.py b/runtests.py index 629668f3..082eae17 100644 --- a/runtests.py +++ b/runtests.py @@ -45,6 +45,9 @@ class TestBuilder(object): filenames = os.listdir(self.rootdir) filenames.sort() for filename in filenames: + if not WITH_CYTHON and filename == "errors": + # we won't get any errors without running Cython + continue path = os.path.join(self.rootdir, filename) if os.path.isdir(path) and filename in TEST_DIRS: suite.addTest( -- 2.26.2