This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Testing/debugging single Ada tests
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 13 Dec 2005 11:13:11 +0100
- Subject: Re: Testing/debugging single Ada tests
- References: <Pine.LNX.4.63.0512131100510.6048@t148.fhfr.qr>
> I see there's magic going on in the testsuite/ada/acats/run_acats and
> run_all.sh scripts, but they cannot be invoked directly to set up the
> environment.
The magic is only there to support testing in the build tree,
with the compiler not installed.
Assuming you've done a make install, then compiling an ACATS
test is as simple as:
gnatmake -O2 -I/space/rguenther/obj/obj3/gcc/testsuite/ada/acats/support <file.adb>
file.adb is the file generated in the obj directory.
If you start from the src directory, then you need one extra step:
gnatchop <file.a or file.ada>
> So - help please!
You're welcome.
Arno