1 if [info exists lang_library_path] then {
2 unset lang_library_path
7 load_lib libgomp-dg.exp
9 # If a testcase doesn't have special options, use these.
10 if ![info exists DEFAULT_CFLAGS] then {
11 set DEFAULT_CFLAGS "-O2"
17 # Gather a list of all tests.
18 set tests [lsort [find $srcdir/$subdir *.c]]
20 set ld_library_path $always_ld_library_path
21 set_ld_library_path_env_vars
24 dg-runtest $tests "" $DEFAULT_CFLAGS