From 714fe7f35f71489d1094e0210c3452912a99eccd Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 24 Feb 2014 03:27:28 +0000 Subject: [PATCH] [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. --- test/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/SConscript b/test/SConscript index bf7be0cd2..aaef9e5a7 100644 --- a/test/SConscript +++ b/test/SConscript @@ -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))