summaryrefslogtreecommitdiff
path: root/runtest.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2011-03-07 06:00:54 +0000
committerWilliam Deegan <bill@baddogconsulting.com>2011-03-07 06:00:54 +0000
commit44f4d9085556a187517fe61103e4ae38d1dae2b4 (patch)
tree0559f2e147bce2fdc023c73a67ec825ec4d1752b /runtest.py
parente5b01f94673518d334e551232fd54ae7268b0c55 (diff)
downloadscons-44f4d9085556a187517fe61103e4ae38d1dae2b4.tar.gz
allow runtest.py -f file to have list of files with whitespace before or after filenames
Diffstat (limited to 'runtest.py')
-rw-r--r--runtest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtest.py b/runtest.py
index 27e88675..649ca083 100644
--- a/runtest.py
+++ b/runtest.py
@@ -641,6 +641,7 @@ elif testlistfile:
tests = open(testlistfile, 'r').readlines()
tests = [x for x in tests if x[0] != '#']
tests = [x[:-1] for x in tests]
+ tests = [x.strip() for x in tests]
elif all and not qmtest:
# Find all of the SCons functional tests in the local directory
# tree. This is anything under the 'src' subdirectory that ends