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