gcc/libgomp/testsuite/libgomp.fortran/fortran.exp
John David Anglin dd56fe7c23 re PR testsuite/31369 (100's of new libgomp fails)
PR testsuite/31369
	* testsuite/libgomp.c++/c++.exp: Don't use concat when setting
	ld_library_path.
	* testsuite/libgomp.fortran/fortran.exp: Likewise.

From-SVN: r123638
2007-04-07 15:10:06 +00:00

24 lines
548 B
Plaintext

set lang_library_path "../libgfortran/.libs"
set lang_test_file "${lang_library_path}/libgfortranbegin.a"
set lang_link_flags "-lgfortranbegin -lgfortran"
load_lib libgomp-dg.exp
# Initialize dg.
dg-init
if [file exists "${blddir}/${lang_test_file}"] {
# Gather a list of all tests.
set tests [lsort [find $srcdir/$subdir *.\[fF\]{,90,95,03}]]
set ld_library_path "$always_ld_library_path:${blddir}/${lang_library_path}"
set_ld_library_path_env_vars
# Main loop.
gfortran-dg-runtest $tests ""
}
# All done.
dg-finish