2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-10 23:32:20 +00:00

Bug fixes

[SVN r13693]
This commit is contained in:
Dave Abrahams
2002-05-06 18:54:24 +00:00
parent 6a5ea2f5e3
commit 2bf1779f95
7 changed files with 12 additions and 9 deletions

View File

@@ -38,7 +38,8 @@ class Tester(TestCmd.TestCmd):
executable to invoke. Set this to "jam" to test Boost.Build v1
behavior.
"""
def __init__(self, arguments="", executable = 'bjam', match = TestCmd.match_exact):
def __init__(self, arguments="", executable = 'bjam', match =
TestCmd.match_exact, boost_build_path = None):
self.original_workdir = os.getcwd()
@@ -50,12 +51,14 @@ class Tester(TestCmd.TestCmd):
else:
raise "Don't know directory where jam is build for this system"
if boost_build_path is None:
boost_build_path = os.path.join(self.original_workdir, "..", "new")
TestCmd.TestCmd.__init__(
self
, program=os.path.join(
'..', 'jam_src', jam_build_dir, executable)
# + ' -sBOOST_BUILD_PATH='
# + os.path.join(self.original_workdir, "..", "new")
+ ' -sBOOST_BUILD_PATH=' + boost_build_path
+ ' -d0 --debug --quiet'
+ ' ' + arguments
, match=match