summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2011-03-07 06:00:54 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2011-03-07 06:00:54 (GMT)
commit0ff5132fe21ccda00915507421280ca3a12b82a7 (patch)
tree0559f2e147bce2fdc023c73a67ec825ec4d1752b /runtest.py
parente2a94d3a26adc267b35ddec93da41d8547922fda (diff)
downloadSCons-0ff5132fe21ccda00915507421280ca3a12b82a7.zip
SCons-0ff5132fe21ccda00915507421280ca3a12b82a7.tar.gz
SCons-0ff5132fe21ccda00915507421280ca3a12b82a7.tar.bz2
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 27e8867..649ca08 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