[Scons-users] blocking execution until compilation is done

William Deegan bill at baddogconsulting.com
Mon Oct 8 01:51:57 EDT 2012



On Oct 7, 2012, at 10:27 PM, edA-qa mort-ora-y <eda-qa at disemia.com> wrote:


> 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.


O.k. I don't see what the problem is.
You can do that with SCons..
-Bill


More information about the Scons-users mailing list