This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problems with Fortran tests using "rsh" connect method in dejagnu


The f77-edit-*-out.f tests are fairly new.  I wrote them and I'm not a
dejagnu guru.  It would simpler (for me) to rewrite the tests to avoid dg-output
than to delve around in dejagnu internals.

The only other tests that use dg-output are:
  - gcc.misc-tests/dg-5.c
  - gcc.misc-tests/dg-6.c
  - gcc.misc-tests/dg-11.c
  - gcc.misc-tests/dg-12.c
Do these tests work for you?

Therefore:
 - the tests may be wrong in some subtle way
 - there may be some problem with the g77 testsuite harness
 - you may have found a long-standing dejagnu or testsuite bug
 - the best fix may be a rewrite of the tests.

-----Original Message-----
From: Jason R Thorpe [mailto:thorpej@wasabisystems.com]
Sent: Friday, 12 July 2002 9:35 
To: gcc-bugs@gcc.gnu.org
Subject: Problems with Fortran tests using "rsh" connect method in
dejagnu


Is anyone else using the "rsh" connect method to do remote testing with
a target?  All goes well until I get to the fortran tests; the output
seems to be going to the wrong place:

Running /u1/hack/gnu-toolchain/gcc/gcc/gcc/testsuite/g77.dg/dg.exp ...
FAIL: g77.dg/f77-edit-apostrophe-out.f output pattern test, is abcde
and an apostrophe -'-
'a leading apostrophe
a trailing apostrophe'
'and all of the above -'-', should match ^abcde(
|
)and an apostrophe -'-(
|
)'a leading apostrophe(
|
)a trailing apostrophe'(
|
)'and all of the above -'-'(
|
)$
FAIL: g77.dg/f77-edit-apostrophe-out.f output pattern test, is abcde
and an apostrophe -'-
'a leading apostrophe
a trailing apostrophe'
'and all of the above -'-', should match ^abcde(
|
)and an apostrophe -'-(
|
)'a leading apostrophe(
|
)a trailing apostrophe'(
|
)'and all of the above -'-'(
|
)$

...etc.  The problem doesn't happen with all the tests, just some of
them.

Am I the only person seeing this?  I'm working on an automated tester
for a half-dozen or so NetBSD targets, and the "rsh" connect method is
definitely the most covenient...

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]