Testing/debugging single Ada tests
Arnaud Charlet
charlet@adacore.com
Tue Dec 13 10:25:00 GMT 2005
> 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
More information about the Gcc
mailing list