public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/16444] New: gfortran.dg test harness barfs on multilibs
@ 2004-07-09 1:25 billingd at gcc dot gnu dot org
2004-07-09 1:25 ` [Bug other/16444] " billingd at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-09 1:25 UTC (permalink / raw)
To: gcc-bugs
The new gfortran.dg test harness barfs on multilibs. I tested it on two
platforms, but didn't test multiple ABIs.
It doesn't seem to do any damage (other than not running tests) so I won't
revert the patch. I will look into it.
gfortran.log shows:
Running target unix/-mabi=64
Running /disk4/billingd/src/gcc-f/gcc/testsuite/gfortran.dg/dg.exp ...
ERROR: tcl error sourcing /disk4/billingd/src/gcc-
f/gcc/testsuite/gfortran.dg/dg.exp.
ERROR: couldn't compile regular expression pattern: parentheses () not balanced
while executing
"regexp "$pattern" $lower"
(procedure "search_for" line 5)
invoked from within
"search_for $test "for*(""
(procedure "gcc-dg-runtest" line 14)
invoked from within
"gcc-dg-runtest $testcases ${default-extra-flags}"
(procedure "gfortran-dg-runtest" line 2)
invoked from within
"gfortran-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/g77/*.f ] ] \
$DEFAULT_FFLAGS"
(file "/disk4/billingd/src/gcc-f/gcc/testsuite/gfortran.dg/dg.exp" line 35)
invoked from within
"source /disk4/billingd/src/gcc-f/gcc/testsuite/gfortran.dg/dg.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source /disk4/billingd/src/gcc-f/gcc/testsuite/gfortran.dg/dg.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
--
Summary: gfortran.dg test harness barfs on multilibs
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: billingd at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16444
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/16444] gfortran.dg test harness barfs on multilibs
2004-07-09 1:25 [Bug other/16444] New: gfortran.dg test harness barfs on multilibs billingd at gcc dot gnu dot org
@ 2004-07-09 1:25 ` billingd at gcc dot gnu dot org
2004-07-09 4:08 ` billingd at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-09 1:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From billingd at gcc dot gnu dot org 2004-07-09 01:25 -------
I wrote it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-07-09 01:25:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16444
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/16444] gfortran.dg test harness barfs on multilibs
2004-07-09 1:25 [Bug other/16444] New: gfortran.dg test harness barfs on multilibs billingd at gcc dot gnu dot org
2004-07-09 1:25 ` [Bug other/16444] " billingd at gcc dot gnu dot org
@ 2004-07-09 4:08 ` billingd at gcc dot gnu dot org
2004-07-09 7:27 ` billingd at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-09 4:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From billingd at gcc dot gnu dot org 2004-07-09 04:08 -------
>From the gcc subdir of the build directory I used the commands
make -k RUNTESTFLAGS='--target_board "unix{,-mabi=64}"' check-gfortran
make -k RUNTESTFLAGS='--target_board "unix{-mabi=64,}"' check-gfortran
The error occurs on the second pass theough the testsuite, regardless of
the order of the ABI options.
If I "mv gfortran.fortran-torture tmp.gfortran.fortran-torture"
then I don't get the error, so it is possible that some variable is
set by gfortran.fortran-torture.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |billingd at gcc dot gnu dot
|dot org |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16444
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/16444] gfortran.dg test harness barfs on multilibs
2004-07-09 1:25 [Bug other/16444] New: gfortran.dg test harness barfs on multilibs billingd at gcc dot gnu dot org
2004-07-09 1:25 ` [Bug other/16444] " billingd at gcc dot gnu dot org
2004-07-09 4:08 ` billingd at gcc dot gnu dot org
@ 2004-07-09 7:27 ` billingd at gcc dot gnu dot org
2004-07-09 10:20 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-09 7:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From billingd at gcc dot gnu dot org 2004-07-09 07:27 -------
This gets ugly. The problem is that procedure search_for is overwritten.
There are multiple search_for procedures in the testsuite
c-torture.exp:proc search_for { file pattern }
fortran-torture.exp:proc search_for { file pattern }
gcc-dg.exp:proc search_for { file pattern }
objc-torture.exp:proc search_for { file pattern }
gfortran.dg works with the one from gcc-dg.exp but not with the one
from fortran-torture.exp.
There is also:
f-torture.exp:proc search_for_re { file pattern }
Need to think through a reasonable solution to this mess.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16444
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/16444] gfortran.dg test harness barfs on multilibs
2004-07-09 1:25 [Bug other/16444] New: gfortran.dg test harness barfs on multilibs billingd at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-07-09 7:27 ` billingd at gcc dot gnu dot org
@ 2004-07-09 10:20 ` cvs-commit at gcc dot gnu dot org
2004-07-09 10:21 ` billingd at gcc dot gnu dot org
2004-07-10 0:26 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-09 10:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-09 10:20 -------
Subject: Bug 16444
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: billingd@gcc.gnu.org 2004-07-09 10:20:43
Modified files:
gcc/testsuite : ChangeLog
gcc/testsuite/lib: fortran-torture.exp
Log message:
2004-07-09 David Billinghurst (David.Billinghurst@riotinto.com)
PR other/16444
* lib/fortran-torture.exp: Rename proc search_for to
search_for_re.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3962&r2=1.3963
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/fortran-torture.exp.diff?cvsroot=gcc&r1=1.2&r2=1.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16444
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/16444] gfortran.dg test harness barfs on multilibs
2004-07-09 1:25 [Bug other/16444] New: gfortran.dg test harness barfs on multilibs billingd at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-07-09 10:20 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-09 10:21 ` billingd at gcc dot gnu dot org
2004-07-10 0:26 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-09 10:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From billingd at gcc dot gnu dot org 2004-07-09 10:21 -------
Patched.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16444
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/16444] gfortran.dg test harness barfs on multilibs
2004-07-09 1:25 [Bug other/16444] New: gfortran.dg test harness barfs on multilibs billingd at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-07-09 10:21 ` billingd at gcc dot gnu dot org
@ 2004-07-10 0:26 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-10 0:26 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16444
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-07-10 0:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-09 1:25 [Bug other/16444] New: gfortran.dg test harness barfs on multilibs billingd at gcc dot gnu dot org
2004-07-09 1:25 ` [Bug other/16444] " billingd at gcc dot gnu dot org
2004-07-09 4:08 ` billingd at gcc dot gnu dot org
2004-07-09 7:27 ` billingd at gcc dot gnu dot org
2004-07-09 10:20 ` cvs-commit at gcc dot gnu dot org
2004-07-09 10:21 ` billingd at gcc dot gnu dot org
2004-07-10 0:26 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).