1. SCons
  2. Core
  3. SCons


William Deegan  committed ef2c017

allow runtest.py -f file to have list of files with whitespace before or after filenames

  • Participants
  • Parent commits ef10ec2
  • Branches default

Comments (0)

Files changed (1)

File runtest.py

View file
  • Ignore whitespace
     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