Normalize interface for all *-dg-runtest.
[official-gcc.git] / gcc / testsuite / obj-c++.dg / torture / tls / tls.exp
blob2598ba83efbd3c8627648d60c858b8816ee8e4bf
1 # This harness is for tests that should be run at all optimisation levels.
3 load_lib obj-c++-dg.exp
5 dg-init
6 # Gather a list of all tests.
7 set tests [lsort [glob -nocomplain $srcdir/$subdir/*.mm]]
9 obj-c++-dg-runtest $tests "" "-fgnu-runtime"
11 # darwin targets can also run code with the NeXT runtime.
12 if [istarget "*-*-darwin*" ] {
13 obj-c++-dg-runtest $tests "" "-fnext-runtime"
16 dg-finish