holger-kde at holgis.net
Tue Jan 10 17:22:07 CET 2006
On Thursday 05 January 2006 09:43, Frederic-Emmanuel PICCA wrote:
> Nagy Thomas wrote:
> >>I wrote a cppunit.py with its
> >>I want to execute the test after the compilation.
> >>But now it is just after scons parse all the
> >>sconscript and before the build
> >Until a better solution appears, here is an idea, in
> >if 'test' in sys.argv:
> > env['_RUNTTESTS_']=1
> >if '_RUNTESTS_' in env:
> > run_some_unit_tests()
> > do_something_else()
> You mean in the generate part or the execute one ?
> >Scons functions like "addPostAction" may help too,
> >have a look.
> I can not find this method in the man page and in the source code of my
> scons version .91.
> Maybe in the CVS version
it is spelled AddPostAction with a capital beginning A, at least in my
> >Hope this helps,
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
More information about the Kde-buildsystem