Commit 1c4176f5 authored by Stefan Behnel's avatar Stefan Behnel

skip off compiler error tests if we don't run the compiler

parent 5d62fda3
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment