Debian Codegraph @

gcc/testsuite/obj-c++.dg/torture/dg-torture.exp

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