This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Testing/debugging single Ada tests
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 13 Dec 2005 11:06:39 +0100 (CET)
- Subject: Testing/debugging single Ada tests
Can someone of the Ada folks provide some info how I can get a debugging
session with a failing acats test? Looking at the testsuite log file
I f.i. see c32001e failing and an (appearant) build line(s)
BUILD c32001e.adb
gnatmake --GCC="/space/rguenther/obj/obj3/gcc/xgcc
-B/space/rguenther/obj/obj3/gcc/" -gnatws -O2
-I/space/rguenther/obj/obj3/gcc/testsuite/ada/acats/support c32001e.adb
-largs --GCC="/space/rguenther/obj/obj3/gcc/xgcc
-B/space/rguenther/obj/obj3/gcc/"
/space/rguenther/obj/obj3/gcc/xgcc -c -B/space/rguenther/obj/obj3/gcc/
-gnatws -O2 -I/space/rguenther/obj/obj3/gcc/testsuite/ada/acats/support
c32001e.adb
but neither of them is invokable from no existing directory (even if
you supply the correct path to the c32001e.adb file). Like f.i.
within the testsuite/ada directory
../../gnatmake --GCC="/space/rguenther/obj/obj3/gcc/xgcc
-B/space/rguenther/obj/obj3/gcc/" -gnatws -O2
-I/space/rguenther/obj/obj3/gcc/testsuite/ada/acats/support
acats/tests/c3/c32001e/c32001e.adb -largs
--GCC="/space/rguenther/obj/obj3/gcc/xgcc
-B/space/rguenther/obj/obj3/gcc/"
fatal error, run-time library not installed correctly
cannot locate file system.ads
gnatmake: *** make failed.
/space/rguenther/obj/obj3/gcc/xgcc -c -B/space/rguenther/obj/obj3/gcc/
-gnatws -O2 -I/space/rguenther/obj/obj3/gcc/testsuite/ada/acats/support
acats/tests/c3/c32001e/c32001e.adb
fatal error, run-time library not installed correctly
cannot locate file system.ads
compilation abandoned
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.
So - help please!
Back to /ignore ada mode.
Richard.