2006-03-09 19:14:39 +01:00
|
|
|
set lang_library_path "../libstdc++-v3/src/.libs"
|
|
|
|
set lang_test_file "${lang_library_path}/libstdc++.a"
|
|
|
|
set lang_link_flags "-lstdc++"
|
|
|
|
|
|
|
|
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 [glob -nocomplain $srcdir/$subdir/*.C]]
|
|
|
|
|
2007-03-22 08:00:08 +01:00
|
|
|
set ld_library_path [concat $always_ld_library_path ":${blddir}/${lang_library_path}"]
|
|
|
|
set_ld_library_path_env_vars
|
|
|
|
|
2006-03-09 19:14:39 +01:00
|
|
|
# Main loop.
|
|
|
|
gfortran-dg-runtest $tests ""
|
|
|
|
}
|
|
|
|
|
|
|
|
# All done.
|
|
|
|
dg-finish
|