summaryrefslogtreecommitdiff
path: root/runtest.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-08 18:21:10 -0700
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-08 18:21:10 -0700
commit964f1a162129421d22dc57bf581f6992fe37bb77 (patch)
treeaf3704bb1f7e901d2f9e8d18b406d5afd2b65e36 /runtest.py
parentd6cc0d881e7b4658904c526189e72cc496421935 (diff)
downloadscons-964f1a162129421d22dc57bf581f6992fe37bb77.tar.gz
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 0d9bbafd..18d41211 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 = []