From: Stefan Behnel Date: Wed, 14 May 2008 19:56:17 +0000 (+0200) Subject: skip off compiler error tests if we don't run the compiler X-Git-Tag: 0.9.8rc1~37^2~80 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1c4176f59c26150a88f26d0e89d6019a2c38c614;p=cython.git skip off compiler error tests if we don't run the compiler --- 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(