[Scons-users] Ignoring (some) errors

Bill Deegan bill at baddogconsulting.com
Mon Apr 13 16:57:04 EDT 2015


Marc,

Or just wrap the function with a success return and use that version where
you need it..?
-Bill

On Mon, Apr 13, 2015 at 4:41 PM, Marc Branchaud <marcnarc at xiplink.com>
wrote:

> 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
> >
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150413/5066cdbb/attachment.html>


More information about the Scons-users mailing list