aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@gcc.gnu.org>1998-12-09 07:53:34 -0500
committerBrendan Kehoe <brendan@gcc.gnu.org>1998-12-09 07:53:34 -0500
commit996d0685a14687f870f96f29fc95e1ba8f71900c (patch)
tree92efb876d2906a4149fe8e4fc96769c09e1c5a51 /gcc/testsuite
parentdfb0fb1d9072ea071a79d25bacae6304c8b022ea (diff)
downloadgcc-996d0685a14687f870f96f29fc95e1ba8f71900c.zip
gcc-996d0685a14687f870f96f29fc95e1ba8f71900c.tar.gz
gcc-996d0685a14687f870f96f29fc95e1ba8f71900c.tar.bz2
update old-dejagnu proc to accompany jasons 12/7 change to g++.old-deja/old-deja.exp
From-SVN: r24222
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/lib/old-dejagnu.exp11
1 files changed, 4 insertions, 7 deletions
diff --git a/gcc/testsuite/lib/old-dejagnu.exp b/gcc/testsuite/lib/old-dejagnu.exp
index 835bb41..bfa29b0 100644
--- a/gcc/testsuite/lib/old-dejagnu.exp
+++ b/gcc/testsuite/lib/old-dejagnu.exp
@@ -119,11 +119,7 @@ proc old-dejagnu-stat { } {
# Returns 0 if successful, 1 if their were any errors.
# PROG is the full path name of the file to compile.
#
-# CFLAGS_VAR is the name of the global variable containing compiler flags.
-# We ignore this now.
-#
-# CFLAGS is the options to always pass to the compiler.
-# This is also ignored.
+# CFLAGSX is the options to always pass to the compiler.
#
# DEFAULT_CFLAGS are additional options if the testcase has none.
#
@@ -137,7 +133,7 @@ proc old-dejagnu-stat { } {
#
# Think of "cflags" here as "compiler flags", not "C compiler flags".
-proc old-dejagnu { compiler prog cflagsx default_cflags libs } {
+proc old-dejagnu { compiler prog name cflagsx default_cflags libs } {
global verbose
global tool
global subdir ;# eg: g++.old-dejagnu
@@ -199,7 +195,8 @@ proc old-dejagnu { compiler prog cflagsx default_cflags libs } {
# Other keywords: "Build don't link:", "Build don't run:", "Build then link:",
# "Additional sources: <file>.cc ..."
- set name "[file tail [file dirname $prog]]/[file tail $prog]"
+# $name is now passed in.
+# set name "[file tail [file dirname $prog]]/[file tail $prog]"
set tmp [grep $prog "FIXME -.*"]
if ![string match "" $tmp] then {