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