summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-09 01:21:10 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-09 01:21:10 (GMT)
commit841c3b0c2960822c4cc02235b104d5487316ac30 (patch)
treeaf3704bb1f7e901d2f9e8d18b406d5afd2b65e36 /runtest.py
parent77d00668798f7be8ea2355a64ba5cb1b667e20a5 (diff)
downloadSCons-841c3b0c2960822c4cc02235b104d5487316ac30.zip
SCons-841c3b0c2960822c4cc02235b104d5487316ac30.tar.gz
SCons-841c3b0c2960822c4cc02235b104d5487316ac30.tar.bz2
Fix issue where a blank line would lead to runtest.py dropping user into a python shell
Diffstat (limited to 'runtest.py')
-rwxr-xr-xruntest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtest.py b/runtest.py
index 0d9bbaf..18d4121 100755
--- a/runtest.py
+++ b/runtest.py
@@ -686,6 +686,7 @@ if testlistfile:
tests = [x for x in tests if x[0] != '#']
tests = [x[:-1] for x in tests]
tests = [x.strip() for x in tests]
+ tests = [x for x in tests if len(x) > 0]
else:
testpaths = []