Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-09 09:43:27

----- Original Message -----
From: "Vladimir Prus" <ghost_at_[hidden]>

> The only big problem is that path to bjam is hardcoded in, so
> you'd need to change it manually. Before fixing it, let's decide what
> want. Will it be ok to just run whatever "bjam" happens to be in path?
Or we
> should run the version in the current working copy? The latter seems

What do you mean by the latter? We are not checking executables into the
CVS... We could try to put the apporopriate jam build directory at the
head of the path before searching the path for bjam...

However, note that on my system "bjam" in the path is a .bat file which
eventually invokes the .exe.

> Also please note that matching jam output is complicated by the fact
that jam
> adds trailing whitespaces. We'll need to do something about it, e.g.
> jam.

I'm still not convinced that it's a problem... unless perhaps you're
saying that it causes the tests to be more complicated than neccessary?
If so, I agree. Why don't you just apply the patch you posted to the
jamming list last week?

> David, I've did nothing about your refactoring suggestions. So far,
I'm not
> yet convinced that we'll have big advantages, and since test system is
> now, let's go on with what we have.

Good choice.

---- results ----

python tests/ runs without any output

cd c:/boost/tools/build/test/
python tests/
Traceback (most recent call last):
File "c:\boost\tools\build\test\tests/", line 8, in ?
File "c:\boost\tools\build\test\", line 58, in set_tree
shutil.copytree(tree_location, self.workdir)
File "c:\tools\Python-2.2\lib\", line 91, in copytree
names = os.listdir(src)
WindowsError: [Errno 3] The system cannot find the path specified:
Error in sys.exitfunc:
Traceback (most recent call last):
File "c:\boost\tools\build\test\", line 72, in _clean
File "c:\boost\tools\build\test\", line 270, in cleanup
shutil.rmtree(dir, ignore_errors = 1)
File "c:\tools\Python-2.2\lib\", line 117, in rmtree
_build_cmdtuple(path, cmdtuples)
File "c:\tools\Python-2.2\lib\", line 132, in _build_cmdtuple
for f in os.listdir(path):
WindowsError: [Errno 3] The system cannot find the path specified:


I think it's important that any testing system supplies a verbose mode,
so you can watch it actually do something, even when it succeeds. A
successful test that gives no feedback is a little unsatisfying ;-)



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at