17 lines
326 B
Plaintext
17 lines
326 B
Plaintext
|
|
||
|
libmudflap-init [find_g++]
|
||
|
|
||
|
dg-init
|
||
|
|
||
|
global srcdir
|
||
|
|
||
|
foreach flags [list {} {-static} {-O2} {-O3}] {
|
||
|
foreach srcfile [lsort [glob -nocomplain ${srcdir}/libmudflap.c++/*.cxx]] {
|
||
|
set bsrc [file tail $srcfile]
|
||
|
setenv MUDFLAP_OPTIONS "-no-heur-proc-map -viol-segv"
|
||
|
dg-runtest $srcfile $flags "-fmudflap"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dg-finish
|