0bddd9360b
2005-06-14 Frank Ch. Eigler <fche@redhat.com> PR libmudflap/21094 * testsuite/libmudflap.c++/*.exp: Assert build tree g++. From-SVN: r100946
21 lines
391 B
Plaintext
21 lines
391 B
Plaintext
|
|
libmudflap-init c++
|
|
if {$cxx == "g++"} then {
|
|
unsupported "g++ not found"
|
|
return
|
|
}
|
|
|
|
dg-init
|
|
|
|
global srcdir
|
|
|
|
foreach flags [list {} {-static} {-O} {-O2} {-O3}] {
|
|
foreach srcfile [lsort [glob -nocomplain ${srcdir}/libmudflap.c++/*frag.cxx]] {
|
|
set bsrc [file tail $srcfile]
|
|
setenv MUDFLAP_OPTIONS "-viol-segv"
|
|
dg-runtest $srcfile $flags "-fmudflap -lmudflap"
|
|
}
|
|
}
|
|
|
|
dg-finish
|