projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf0ef3
)
fix include dirs in test runner
author
Stefan Behnel
<scoder@users.berlios.de>
Wed, 9 Apr 2008 15:03:24 +0000
(17:03 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Wed, 9 Apr 2008 15:03:24 +0000
(17:03 +0200)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index d5bf75dce3d43d22b9d28181bc0544c3d5f36b21..1d3e7ca238afe392d83ed957772016de7d95f3fe 100644
(file)
--- a/
runtests.py
+++ b/
runtests.py
@@
-8,14
+8,13
@@
import os, sys, unittest, doctest
from distutils.extension import Extension
from Cython.Distutils import build_ext
-
from distutils.dist import Distribution
distutils_distro = Distribution()
TEST_DIRS = ['compile', 'run']
TEST_RUN_DIRS = ['run']
-INCLUDE_DIRS =
os.getenv('INCLUDE', '').split(os.pathsep)
+INCLUDE_DIRS =
[ d for d in os.getenv('INCLUDE', '').split(os.pathsep) if d ]
CFLAGS = os.getenv('CFLAGS', '').split()
class TestBuilder(object):