From: Stefan Behnel Date: Wed, 9 Apr 2008 15:03:24 +0000 (+0200) Subject: fix include dirs in test runner X-Git-Tag: 0.9.6.14~20^2~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=012e710acde180fb97d6d85d250cb485add0a272;p=cython.git fix include dirs in test runner --- diff --git a/runtests.py b/runtests.py index d5bf75dc..1d3e7ca2 100644 --- 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):