[Scons-users] Ignoring (some) errors

Marc Branchaud marcnarc at xiplink.com
Mon Apr 13 16:41:20 EDT 2015


On 15-04-13 03:19 PM, Bill Deegan wrote:
> For your python functions, can you just make them always return success for
> the cases which you wish to ignore failures?

I'd have to add a parameter for that, since the functions aren't used
exclusively in the second part of the build.

		M.


> On Mon, Apr 13, 2015 at 3:04 PM, Marc Branchaud <marcnarc at xiplink.com
> <mailto:marcnarc at xiplink.com>> wrote:
> 
>     On 15-04-10 11:27 PM, Bill Deegan wrote:
>     > Marc,
>     >
>     > What platform is this on?
>     > Could you try swapping the SHELL for the commands you don't care if they fail
>     > and make a shell script which ignores the errors and always returns 0?
> 
>     The platform is FreeBSD.
> 
>     Unfortunately the procedure is a mix of shell commands and Python functions,
>     otherwise this idea would be pretty clever.
> 
>                     M.
> 
>     _______________________________________________
>     Scons-users mailing list
>     Scons-users at scons.org <mailto:Scons-users at scons.org>
>     https://pairlist4.pair.net/mailman/listinfo/scons-users
> 
> 
> 
> 
> _______________________________________________
> 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