diff options
Diffstat (limited to 'gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.c/c.exp')
-rw-r--r-- | gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.c/c.exp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.c/c.exp b/gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.c/c.exp new file mode 100644 index 000000000..d9a5fc330 --- /dev/null +++ b/gcc-4.2.1-5666.3/libgomp/testsuite/libgomp.c/c.exp @@ -0,0 +1,28 @@ +# APPLE LOCAL file mainline +if [info exists lang_library_path] then { + unset lang_library_path + unset lang_test_file + unset lang_link_flags +} + +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 +set_ld_library_path_env_vars + +# Main loop. +dg-runtest $tests "" $DEFAULT_CFLAGS + +# All done. +dg-finish |