From 012e710acde180fb97d6d85d250cb485add0a272 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 9 Apr 2008 17:03:24 +0200 Subject: [PATCH] fix include dirs in test runner --- runtests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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): -- 2.26.2