diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-02 22:57:10 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-02 22:57:10 -0400 |
commit | 02940cb41b0f424568a6fb2aa9d8f10c4ef2e16a (patch) | |
tree | 3e0fd1b1c12114d29b502d55fb0050be011b80af /runtest.py | |
parent | 5ef70215ac36f8ef819ffca786ee510dc5658812 (diff) | |
download | scons-02940cb41b0f424568a6fb2aa9d8f10c4ef2e16a.tar.gz |
Fix runtest.py to work with win32 paths specified as .\test\xyz
Diffstat (limited to 'runtest.py')
-rwxr-xr-x | runtest.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -663,6 +663,7 @@ def find_Tests_py(directory): def find_py(directory): """ Look for end-to-end tests """ result = [] + for dirpath, dirnames, filenames in os.walk(directory): # Skip folders containing a sconstest.skip file if 'sconstest.skip' in filenames: @@ -707,6 +708,8 @@ else: testpaths = args for tp in testpaths: + # Clean up path so it can match startswith's below + tp = os.path.normpath(tp) for path in glob.glob(tp): if os.path.isdir(path): if path.startswith('src'): |