1 # This harness is
for tests that should be run at all optimisation levels.
3 load_lib
obj-c
++-dg.exp
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"