Merge trunk version 201119 into gupc branch.
[official-gcc.git] / gcc / testsuite / objc.dg / torture / dg-torture.exp
blob4b1869e9c0072657f0deffe7eb1ea11311021c5a
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