print WhereIs('xxx.exe', %s)
print WhereIs('xxx.exe', %s)
print WhereIs('xxx.exe', %s, reject=%s)
+env.Replace( XXXNAME='xxx.exe' )
+print env.WhereIs( '$XXXNAME', %s )
""" % (subdir_SConscript,
repr(string.join(pathdirs_1234, os.pathsep)),
repr(string.join(pathdirs_1243, os.pathsep)),
repr(pathdirs_1234),
repr(pathdirs_1243),
repr(pathdirs_1243),
- repr(sub4_xxx_exe)
+ repr(sub4_xxx_exe),
+ repr(string.join(pathdirs_1243, os.pathsep)),
))
test.write(subdir_SConscript, """
test.workpath(sub3_xxx_exe),
test.workpath(sub4_xxx_exe),
test.workpath(sub3_xxx_exe),
+ test.workpath(sub4_xxx_exe)
]
test.run(arguments = ".",
test.workpath(sub3_xxx_exe),
test.workpath(sub4_xxx_exe),
test.workpath(sub3_xxx_exe),
+ test.workpath(sub4_xxx_exe)
]
test.run(arguments = ".",
stdout = test.wrap_stdout(read_str = string.join(expect, "\n") + "\n",
build_str = "scons: `.' is up to date.\n"))
+
test.pass_test()