gcc/libgomp/testsuite/libgomp.c++/c++.exp

24 lines
534 B
Plaintext
Raw Normal View History

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]]
set ld_library_path [concat $always_ld_library_path ":${blddir}/${lang_library_path}"]
set_ld_library_path_env_vars
# Main loop.
gfortran-dg-runtest $tests ""
}
# All done.
dg-finish