87bd23b8e9
* testsuite/libgomp.c++/c++.exp: Append multilib library path. * testsuite/libgomp.fortran/fortran.exp: Same. * testsuite/libgomp.c/c.exp: Same. * testsuite/lib/libgomp.exp: Append AIX libgcc pthread multilib directory to library path first. From-SVN: r137638
25 lines
626 B
Plaintext
25 lines
626 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,08}]]
|
|
|
|
set ld_library_path "$always_ld_library_path:${blddir}/${lang_library_path}"
|
|
append ld_library_path [gcc-set-multilib-library-path $GCC_UNDER_TEST]
|
|
set_ld_library_path_env_vars
|
|
|
|
# Main loop.
|
|
gfortran-dg-runtest $tests ""
|
|
}
|
|
|
|
# All done.
|
|
dg-finish
|