[SCons] Workaround for SCons bug under Cygwin
See SCons Issue 2911. http://scons.tigris.org/issues/show_bug.cgi?id=2911
This commit is contained in:
parent
aad284cce7
commit
16927ae538
1 changed files with 2 additions and 1 deletions
|
|
@ -107,7 +107,8 @@ def addPythonTest(testname, subdir, script, interpreter, outfile,
|
||||||
testenv = localenv.Clone()
|
testenv = localenv.Clone()
|
||||||
passedFile = File(pjoin(subdir, '%s.passed' % testname))
|
passedFile = File(pjoin(subdir, '%s.passed' % testname))
|
||||||
PASSED_FILES[testname] = str(passedFile)
|
PASSED_FILES[testname] = str(passedFile)
|
||||||
run_program = testenv.Command(passedFile, pjoin(subdir, script), scriptRunner)
|
|
||||||
|
run_program = testenv.Command(passedFile, pjoin('#test', subdir, script), scriptRunner)
|
||||||
for dep in dependencies:
|
for dep in dependencies:
|
||||||
if isinstance(dep, str):
|
if isinstance(dep, str):
|
||||||
dep = File(pjoin(subdir, dep))
|
dep = File(pjoin(subdir, dep))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue