This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: exit status of 'make check'


On Monday 26 November 2001 00:10, Michael Elizabeth Chastain wrote:
> I agree with Daniel here, but from a different point of view.
>
> It would be nice if the exit status was, for example:
>
>   0  no results are ERROR, WARNING, or FAIL
>   1  no results are ERROR or WARNING; some results are FAIL
>   2  some results are ERROR or WARNING
>   3  the test harness did not run well enough to generate results
>      (e.g. runtest not found).
>
> (or something like that)

This makes good sense to me. :-) 

>
> To achieve this result, someone would have to: design a set of exit
> statuses, build consensus for it among several user communities, and submit
> patches to tools like dejagnu.
>
> That's a lot of work.

Agreed.

>  For the same amount of work, one could implement
> other useful features in the test machinery and in the test suite itself. 
> For instance, I would like to have ERRORs and WARNINGs reported with the
> test script filename in them, just like FAILs are.

I would like to see both implemented. I just need about 3 more hours in each 
day to work on such a project.  I hope to have some time next week to look 
into this matter further.

> I do sympathize that the exit status is imprecise and that this can
> interfere with large-scale automation.
>

Thank you.


Best Regards,



--George


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]