[Scons-users] SConf Configure log_file argument ignores dir path

Daniel Moody dmoody256 at gmail.com
Mon Dec 4 23:39:44 EST 2017


I am using Configure in this manner:

conf = Configure(env, conf_dir = env.build_dir + "/conf_tests", log_file =
env.build_dir + "/conf.log",
            custom_tests = {...

where env.build_dir is 'build' in this case, but conf.log appears in the
same directory as SConstruct.

I would expect the logfile to use my path for the location of the log file
as conf_dir is doing so I think this is a bug.

I found that if I change this:
https://github.com/dmoody256/scons/commit/d83e80a45feeca8d932e7d2f97a804cb6035c546

then it works as I expected. If this seems to be the intended function I
will submit a bug and PR with a test.

any can confirm this bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20171204/472235a6/attachment.html>


More information about the Scons-users mailing list