1. SCons
  2. Core
  3. SCons


SCons / runtest.py

Diff from to

File runtest.py

  • 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