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: Testing/debugging single Ada tests


> 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


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