aboutsummaryrefslogtreecommitdiff
path: root/libmudflap
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2005-06-14 18:37:20 +0000
committerFrank Ch. Eigler <fche@gcc.gnu.org>2005-06-14 18:37:20 +0000
commit0bddd9360bf300a9347473acc0673daa646ba366 (patch)
tree48cd25082678a4c5918d720144215db626ed3a4d /libmudflap
parent665dff26accb72a8b2a14ca12170c29655cf01fd (diff)
downloadgcc-0bddd9360bf300a9347473acc0673daa646ba366.zip
gcc-0bddd9360bf300a9347473acc0673daa646ba366.tar.gz
gcc-0bddd9360bf300a9347473acc0673daa646ba366.tar.bz2
re PR testsuite/21094 (libmudflap C++ tests run even when C++ not configured)
2005-06-14 Frank Ch. Eigler <fche@redhat.com> PR libmudflap/21094 * testsuite/libmudflap.c++/*.exp: Assert build tree g++. From-SVN: r100946
Diffstat (limited to 'libmudflap')
-rw-r--r--libmudflap/ChangeLog5
-rw-r--r--libmudflap/testsuite/libmudflap.c++/c++frags.exp4
-rw-r--r--libmudflap/testsuite/libmudflap.c++/ctors.exp4
3 files changed, 13 insertions, 0 deletions
diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog
index 4ca7da5..3cc2238 100644
--- a/libmudflap/ChangeLog
+++ b/libmudflap/ChangeLog
@@ -1,5 +1,10 @@
2005-06-14 Frank Ch. Eigler <fche@redhat.com>
+ PR libmudflap/21094
+ * testsuite/libmudflap.c++/*.exp: Assert build tree g++.
+
+2005-06-14 Frank Ch. Eigler <fche@redhat.com>
+
PR mudflap/22064
* mf-impl.h (mudflap_mode, violation_mode): Make these ordinary
unsigned vars with #defines instead of enums.
diff --git a/libmudflap/testsuite/libmudflap.c++/c++frags.exp b/libmudflap/testsuite/libmudflap.c++/c++frags.exp
index 1ac24ad..0b27743 100644
--- a/libmudflap/testsuite/libmudflap.c++/c++frags.exp
+++ b/libmudflap/testsuite/libmudflap.c++/c++frags.exp
@@ -1,5 +1,9 @@
libmudflap-init c++
+if {$cxx == "g++"} then {
+ unsupported "g++ not found"
+ return
+}
dg-init
diff --git a/libmudflap/testsuite/libmudflap.c++/ctors.exp b/libmudflap/testsuite/libmudflap.c++/ctors.exp
index 5d4f1ef..ceb9fb7 100644
--- a/libmudflap/testsuite/libmudflap.c++/ctors.exp
+++ b/libmudflap/testsuite/libmudflap.c++/ctors.exp
@@ -1,5 +1,9 @@
libmudflap-init c++
+if {$cxx == "g++"} then {
+ unsupported "g++ not found"
+ return
+}
dg-init