[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

acats testsuite run against system gnat libs?



Ludovic,

loking at the acats testsuite; 

gcc/testsuite/ada/acats/run_all.sh sets LD_LIBRARY_PATH based on
$BASE, but this is not set. This script is called by
gcc/testsuite/ada/acats/run_acats, which should export BASE to pass it
to run_all.sh.

the ada-acats patch introduces the uninitialized use of BASE. 

then, looking at the test log, I see:
fatal error, run-time library not installed correctly
cannot locate file system.ads
gnatmake: *** make failed.

/scratch/packages/gcc/snap/hardy/gcc-snapshot-20081013/build/gnattools/gnatchop --GCC=/scratch/packages/gcc/snap/hardy/gcc-snapshot-20081013/build/gcc/xgcc -c -w /scratch/packages/gcc/snap/hardy/gcc-snapshot-20081013/build/gcc/testsuite/ada/acats/tests/a/a35101b.ada
/scratch/packages/gcc/snap/hardy/gcc-snapshot-20081013/build/gnattools/gnatchop --GCC=/scratch/packages/gcc/snap/hardy/gcc-snapshot-20081013/build/gcc/xgcc -c -w /scratch/packages/gcc/snap/hardy/gcc-snapshot-20081013/build/gcc/testsuite/ada/acats/tests/a/a35101b.ada
xgcc: error trying to exec 'gnat1': execvp: No such file or directory
/scratch/packages/gcc/snap/hardy/gcc-snapshot-20081013/build/gcc/testsuite/ada/acats/tests/a/a35101b.ada: parse errors detected
/scratch/packages/gcc/snap/hardy/gcc-snapshot-20081013/build/gcc/testsuite/ada/acats/tests/a/a35101b.ada: chop may not be successful
no compilation units found
no source files written
BUILD 
FAIL:   a35101b

Is there a -B option to xgcc missing?

I'm trying to run the testsuite in a gcc-snapshot package (based on
gcc-4.3) on a system, which doesn't have gnat-4.3 installed.

Currently I think we run the tests against the installed version, not
the newly built version.

  Matthias


Reply to: