From 0ff5132fe21ccda00915507421280ca3a12b82a7 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Mon, 7 Mar 2011 06:00:54 +0000 Subject: allow runtest.py -f file to have list of files with whitespace before or after filenames --- runtest.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v0.12