[Scons-users] SConstruct return value
tshortik at gmx.de
Fri Feb 28 10:11:59 EST 2014
On 28.02.2014 13:49, Nikola Radovanovic wrote:
> will Exit(1) do the job?
a simple Exit() stops processing right at the input phase, while you're
reading the SConstruct/SConscript files. This would mean that no files
can get built.
Instead, you want to execute some piece of code "after" the actual SCons
run has finished...so the atexit handler is probably what you're looking
for a basic example, in the registered method you could then do a
sys.exit(0) or similar. Haven't tested this though...
> On 02/28/2014 12:55 PM, Nikola Radovanovic wrote:
>> Hi all,
>> for some reasons (jenkins integration - dont ask me why), i need to
>> fake result for one SConstruct - i want to always get 'build
>> success' in SConstruct. is this possible?
>> thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users