https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83892

--- Comment #7 from simon at pushface dot org ---
(In reply to rguent...@suse.de from comment #5)

> It would be nice if acats could honor dejagnu RUNTESTFLAGS.  That is,
> I regularly do
> 
> make check RUNTESTFLAGS="--target_board=unix/-g"
> 
> and that should append -g to all flags used.  That might need a "simple"
> acats.exp to wrap the run_acats/all.sh scripts.  Currently acats seems
> to be invoked via check-acats in gcc/ada/gcc-interface/Make-lang.in

I have a patch to do this, but 
(a) I’ve just seen that you said "append", 
(b) if the added switches include -gnat<foo>, you’d need to make sure
    you only ran "make check-acats" - -g<bar> looks like a debug 
    option
(c) RUNTESTFLAGS doesn’t get transmitted to the sub-makes in the
    check-acats target if you 'make -j<n>'

Reply via email to