33cde5161f
gcc/testsuite/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * lib/gcc-defs.exp, lib/target-libpath.exp, lib/objc.exp, lib/gfortran.exp, lib/g++.exp, lib/obj-c++.exp, lib/c-torture.exp, lib/gcc-dg.exp, lib/gnat.exp, g++.dg/compat/compat.exp, g++.dg/compat/struct-layout-1.exp: Revert 2009-06-30 commit. libstdc++-v3/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libstdc++.exp: Revert 2009-06-30 commit. libjava/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libjava.exp: Revert 2009-06-30 commit. libgomp/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits. * testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp, testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits. libffi/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libffi-dg.exp: Revert 2009-07-02, 2009-07-01 and 2009-06-30 commits. libmudflap/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libmudflap.exp: Revert 2009-06-30 commit. From-SVN: r149508
31 lines
639 B
Plaintext
31 lines
639 B
Plaintext
if [info exists lang_library_path] then {
|
|
unset lang_library_path
|
|
unset lang_link_flags
|
|
}
|
|
if [info exists lang_test_file] then {
|
|
unset lang_test_file
|
|
}
|
|
|
|
load_lib libgomp-dg.exp
|
|
|
|
# If a testcase doesn't have special options, use these.
|
|
if ![info exists DEFAULT_CFLAGS] then {
|
|
set DEFAULT_CFLAGS "-O2"
|
|
}
|
|
|
|
# Initialize dg.
|
|
dg-init
|
|
|
|
# Gather a list of all tests.
|
|
set tests [lsort [find $srcdir/$subdir *.c]]
|
|
|
|
set ld_library_path $always_ld_library_path
|
|
append ld_library_path [gcc-set-multilib-library-path $GCC_UNDER_TEST]
|
|
set_ld_library_path_env_vars
|
|
|
|
# Main loop.
|
|
dg-runtest $tests "" $DEFAULT_CFLAGS
|
|
|
|
# All done.
|
|
dg-finish
|