From 6bbd6d48b0abdd98f76dab6ddb68ffacdf83fd2b Mon Sep 17 00:00:00 2001
From: fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 14 Jun 2005 18:37:20 +0000
Subject: [PATCH] 2005-06-14  Frank Ch. Eigler  <fche@redhat.com>

	PR libmudflap/21094
	* testsuite/libmudflap.c++/*.exp: Assert build tree g++.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100946 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libmudflap/ChangeLog                             | 5 +++++
 libmudflap/testsuite/libmudflap.c++/c++frags.exp | 4 ++++
 libmudflap/testsuite/libmudflap.c++/ctors.exp    | 4 ++++
 3 files changed, 13 insertions(+)

diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog
index 4ca7da594b79..3cc2238ba636 100644
--- a/libmudflap/ChangeLog
+++ b/libmudflap/ChangeLog
@@ -1,3 +1,8 @@
+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
diff --git a/libmudflap/testsuite/libmudflap.c++/c++frags.exp b/libmudflap/testsuite/libmudflap.c++/c++frags.exp
index 1ac24adbe929..0b2774360b7c 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 5d4f1efff61f..ceb9fb70ffae 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
 
-- 
GitLab