summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/g++.exp
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-10 13:54:24 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-10 13:54:24 +0000
commit1b28399fef8341658aec271560a67be88fe3c073 (patch)
tree0dbe369c79ac0a9c26c7c1dccb370d4fbdaf824f /gcc/testsuite/lib/g++.exp
parente062b7912cd7c750517624ccf225fc97cd33da41 (diff)
downloadgcc-1b28399fef8341658aec271560a67be88fe3c073.tar.gz
* lib/g++-dg.exp: Load file-format and target-supports like gcc.
(g++-dg-prune): Call prune_gcc_output. * prune.exp: New file for prune_gcc_output. * lib/g++.exp, lib/gcc.exp: Load it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43901 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/g++.exp')
-rw-r--r--gcc/testsuite/lib/g++.exp9
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/testsuite/lib/g++.exp b/gcc/testsuite/lib/g++.exp
index 40e8f90d41d..36024e9c280 100644
--- a/gcc/testsuite/lib/g++.exp
+++ b/gcc/testsuite/lib/g++.exp
@@ -21,6 +21,7 @@
#
# g++ support library routines
#
+load_lib prune.exp
#
# GXX_UNDER_TEST is the compiler under test.
@@ -290,14 +291,6 @@ if { [info procs runtest_file_p] == "" } then {
}
}
-# Provide a definition of this if missing (delete after next dejagnu release).
-
-if { [info procs prune_warnings] == "" } then {
- proc prune_warnings { text } {
- return $text
- }
-}
-
# On IRIX 6, we have to set variables akin to LD_LIBRARY_PATH, but
# called LD_LIBRARYN32_PATH (for the N32 ABI) and LD_LIBRARY64_PATH
# (for the 64-bit ABI). The right way to do this would be to modify