|
Boost-Build : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-04 08:00:11
----- Original Message -----
From: "Vladimir Prus" <ghost_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Thursday, April 04, 2002 2:17 AM
Subject: Re: [jamboost] Test system
> David Abrahams wrote:
>
> > > Nay, this is not what the method does. It actually does
> > > rm -rf . && cp -r dir .
> > > as you already spelled it, not
> > > mkdir /tmp/another_tmp_dir && cp dir /tmp/another_tmp_dir &&
cd
> >
> > /tmp/another_tmp_dir
> >
> > Oh.
> >
> > rewrite_cwd - replaces the contents of the current working
> > directory with the contents of a specified directory.
>
> Not yet right -- it rewrites the content of the scracth directory
created
> when the tester object was created, not the current working dir.
Isn't it an implementation detail that the scratch directory is created
when the tester is created, above?
copy_tree - makes a copy of the given directory tree in a scratch
directory.
Isn't there something having to do with the CWD missing?
> > BTW, is there a way to then change the cwd to a sub-directory of the
> > rewritten tree?
>
> Except for os.chdir? Have not need it yet.
We will need it in order to test building from a subproject
> > > someday, hopefully soon.
> >
> > No rush.
>
> Actually, half-way there, just because its something simple and
pleasant to
> have in the beginning of a day.
:o)
-Dave
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk