ERROR: Couldn't find library file fortran-torture.exp.

Tobias Burnus burnus@net-b.de
Thu Dec 14 19:38:00 GMT 2006


Hi Toon,

Toon Moene schrieb:
> Am I the only one seeing this when running the testsuite of libcomp on
> the trunk:
> Native configuration is x86_64-unknown-linux-gnu
> ERROR: Couldn't find library file fortran-torture.exp.
This is a problem of DejaGNU having no concept of a library path. Since
gfortran-dg.exp now loads fortran-torture.exp, one needs to patch
libgomp/testsuite/lib/libgomp-dg.exp.

Does the following patch work for you?

(I'm currently not in the position to test & submit the patch - so, if
someone want to do this ... otherwise I'll do it tomorrow.)

Tobias

Index: libgomp/testsuite/lib/libgomp-dg.exp
===================================================================
--- libgomp/testsuite/lib/libgomp-dg.exp        (Revision 119864)
+++ libgomp/testsuite/lib/libgomp-dg.exp        (Arbeitskopie)
@@ -22,6 +22,7 @@
 load_gcc_lib wrapper.exp
 load_gcc_lib gcc-defs.exp
 load_gcc_lib gcc-dg.exp
+load_gcc_lib fortran-torture.exp
 load_gcc_lib gfortran-dg.exp

 set dg-do-what-default run



More information about the Fortran mailing list