[Scons-users] blocking execution until compilation is done
edA-qa mort-ora-y
eda-qa at disemia.com
Mon Oct 8 01:27:03 EDT 2012
On 08/10/12 07:05, William Deegan wrote:
> Then just make those build dependencies sources of your test builder, but discard them from your command line.
> And/or use env.Depends()
This brings us back to the other problem I'm trying to solve. I don't
want to build all programs to run specific tests. Ideally only the
builds required for the test should build when running that test. If I
make them all depend on the build process then everything will always be
built.
That is:
check_a : prog_a
check_b : prob_b
check_all : check_a check_b
If I run "check_a" then only "prog_a" should be built. But if I run
"check_all" then both prog_a and prog_b should be built prior to running
either of the check programs. As a project grows I find this to be a
very useful, if not essential feature, to avoid over building and
allowing test driver development.
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20121008/a4060360/attachment.pgp>
More information about the Scons-users
mailing list