Re: making --status the default

Simon Marchi <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Organization Ericsson AB
Message-ID <[email protected]>
On 16-02-14 10:18 PM, Ben Elliston wrote:
> Earlier this year, there was a discussion about the understated
> --status option.  This option causes runtest to exit with an exit code
> of 1 ("failure" to the shell) if an error is encountered in any of the
> Tcl scripts. The thread starts here:
> 
>   http://lists.gnu.org/archive/html/dejagnu/2016-01/msg00000.html
> 
> I would like to make --status the default so that runtest always exits
> with an exit status of 2 if an error is encountered by Tcl.  This
> seems like sensible behaviour and enables users to respond differently
> from their Makefiles, build systems, etc.
> 
> I plan to leave the option there for backward compatibility, but it
> would not do anything.
> 
> Thoughts?
> 
> Cheers, Ben

I obviously agree :).

Thanks,

Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.