summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-04-25 16:22:53 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2019-04-25 16:22:53 (GMT)
commit9ddd2ab49faddd45ae5d1d0253d5f5135f348099 (patch)
tree3adc1dcc7d9923d230cfb3e3ebcd9307bef1a204 /testing
parent20e0363c1bc82b27217e6a953441626d9c37f53f (diff)
downloadSCons-9ddd2ab49faddd45ae5d1d0253d5f5135f348099.zip
SCons-9ddd2ab49faddd45ae5d1d0253d5f5135f348099.tar.gz
SCons-9ddd2ab49faddd45ae5d1d0253d5f5135f348099.tar.bz2
Add initializing fixture_dirs from shell variable FIXTURE_DIRS
Diffstat (limited to 'testing')
-rw-r--r--testing/framework/TestCmd.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/framework/TestCmd.py b/testing/framework/TestCmd.py
index a6a8045..bf010e1 100644
--- a/testing/framework/TestCmd.py
+++ b/testing/framework/TestCmd.py
@@ -974,6 +974,12 @@ class TestCmd(object):
self.subdir(subdir)
self.fixture_dirs = []
+ try:
+ self.fixture_dirs = (os.environ['FIXTURE_DIRS']).split(os.pathsep)
+ except KeyError:
+ pass
+
+
def __del__(self):
self.cleanup()
@@ -1630,6 +1636,7 @@ class TestCmd(object):
os.mkdir(new)
except OSError as e:
print("Got error :%s"%e)
+ import pdb; pdb.set_trace()
pass
else:
count = count + 1