[Scons-users] Writing a command that always succeeds
Jason Kenny
dragon512 at live.com
Sun Jun 12 21:55:12 EDT 2016
Ya... in the Main pages you can find this:
Action('$CC -c -o $TARGET $SOURCES')
# Doesn't print the line being executed.
Action('@build $TARGET $SOURCES')
# Ignores return value
Action('-build $TARGET $SOURCES')
Hope this helps
Jason
-----Original Message-----
From: Scons-users [mailto:scons-users-bounces at scons.org] On Behalf Of Stefan
Seefeld
Sent: Sunday, June 12, 2016 7:12 PM
To: SCons users mailing list <scons-users at scons.org>
Subject: [Scons-users] Writing a command that always succeeds
Hello,
is there a portable way to write commands / actions such that they always
report success, no matter what the subprocess returns ?
I'd like to add a bunch of tests to my SCons build logic, and right now the
first failed test will abort the build process.
I don't want to run `scons` with `-i`, as that would mask "real" build
errors, so I only want certain actions to be allowed to fail. What is the
best way to achieve this ?
Thanks,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users
More information about the Scons-users
mailing list