[SCons] Workaround for SCons bug under Cygwin
See SCons Issue 2911. http://scons.tigris.org/issues/show_bug.cgi?id=2911 Cherry-pick of trunk r2739.
This commit is contained in:
parent
214e3c8af7
commit
714fe7f35f
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ def addTestScript(testname, subdir, script, interpreter, dependencies=(), env_va
|
|||
passedFile = File(pjoin(subdir, '%s.passed' % testname))
|
||||
PASSED_FILES[testname] = str(passedFile)
|
||||
testResults.tests[passedFile.name] = True
|
||||
run_program = testenv.Command(passedFile, pjoin(subdir, script), scriptRunner)
|
||||
run_program = testenv.Command(passedFile, pjoin('#test', subdir, script), scriptRunner)
|
||||
|
||||
for dep in dependencies:
|
||||
if isinstance(dep, str):
|
||||
dep = File(pjoin(subdir, dep))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue