This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: interrupting Ada tests


Hi Simon,

> On 5 Jul 2018, at 20:08, Richard Biener <richard.guenther@gmail.com> wrote:
>> 
>> On July 5, 2018 6:37:58 PM GMT+02:00, Martin Sebor <msebor@gmail.com> wrote:
>>> Ada tests don't seem to respond to the INT signal: when
>>> I interrupt a parallel make check while the Ada tests are
>>> running, other test suites are interrupted as well and go
>>> away, but ada tests keep running.  Is there some trick to
>>> have Ctrl-C have the expected effect on the Ada test suite
>>> as well or is this is a bug?
>> 
>> It only happens sometimes to me. I guess this is a bug. 
>> 
>> Richard. 
>
> I'm pretty sure it's a bug, in the 'acats' part of the test, not the 'gnat'
> part; it's happened to me repeatedly while developing an upgraded ACATS
> suite over at https://github.com/simonjwright/ACATS
> <https://github.com/simonjwright/ACATS>.

nice work.

> (by the way, to run just this part of the suite, it's 'make check-acats').
>
> No doubt the problem is that the suite runs as a shell script, and the C-c
> doesn't get applied at the right place(s).
>
> I'm not sure that I'm up to what would be a major recasting of the 2,500 or
> so test programs into a dejagnu framework (would that be likely to fix this
> issue?).

FWIW, I'd started a patch for this way back:

	http://gcc.gnu.org/ml/gcc-patches/2011-01/msg02310.html
	http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01469.html

but never completed it.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


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