]> gcc.gnu.org Git - gcc.git/blob - libgomp/testsuite/libgomp.c/c.exp
re PR c++/34513 (static variable not found for C++ OpenMP)
[gcc.git] / libgomp / testsuite / libgomp.c / c.exp
1 if [info exists lang_library_path] then {
2 unset lang_library_path
3 unset lang_test_file
4 unset lang_link_flags
5 }
6
7 load_lib libgomp-dg.exp
8
9 # If a testcase doesn't have special options, use these.
10 if ![info exists DEFAULT_CFLAGS] then {
11 set DEFAULT_CFLAGS "-O2"
12 }
13
14 # Initialize dg.
15 dg-init
16
17 # Gather a list of all tests.
18 set tests [lsort [find $srcdir/$subdir *.c]]
19
20 set ld_library_path $always_ld_library_path
21 set_ld_library_path_env_vars
22
23 # Main loop.
24 dg-runtest $tests "" $DEFAULT_CFLAGS
25
26 # All done.
27 dg-finish
This page took 0.037763 seconds and 5 git commands to generate.