public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Results for haifa-disabled egcs-970828 g++ testsuite on sparc-sun-solaris2.5
@ 1997-08-30  5:43 Joe Buck
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Buck @ 1997-08-30  5:43 UTC (permalink / raw)
  To: egcs

Alexandre:
> >> The tests that have failed are compile-time ones, and I can assure
> >> that my configuration does run tests.

Me:
> > Please try explicitly hand-running one of the tests I report as failing and
> > your report as passing.  

Alexandre again:
> I looked at the test files, and found out they all #include header
> files that are only installed with libg++, which I had installed with
> egcs-970822.  

I suggest that any tests that use libg++ headers that are not in libstdc++
either be re-written to use only standard headers, or else they can be
moved to the libg++ test suite.  If anyone is worried about losing a
test, we can do both: move the exact test to libg++/testsuite and leave
the rewritten test in the g++ test suite.

> Is there anyway to tell runtest that `it is ok if this error occurs,
> but it is not an expected one'.  It should be counted as an
> unsupported test, IMO.

I don't think that is a good idea.  Either the tests should be rewritten
or they should be moved to the libg++ test suite; for most of them
a rewrite is easy.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Results for haifa-disabled egcs-970828 g++ testsuite on sparc-sun-solaris2.5
  1997-08-30  5:06 libI77 fmt uncleanliness Richard Henderson
@ 1997-08-30  5:14 ` Alexandre Oliva
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Oliva @ 1997-08-30  5:14 UTC (permalink / raw)
  To: egcs

Joe Buck writes:

>> The tests that have failed are compile-time ones, and I can assure
>> that my configuration does run tests.

> Please try explicitly hand-running one of the tests I report as failing and
> your report as passing.  

Gotcha!

I looked at the test files, and found out they all #include header
files that are only installed with libg++, which I had installed with
egcs-970822.  

These are the offending lines:

g++.brendan/crash20.C:3:#include 
g++.brendan/crash30.C:3:#include 
g++.brendan/crash39.C:4:#include 
g++.brendan/crash39.C:5:#include 
g++.law/operators4.C:8:#include 
g++.mike/p658.C:4:#include 
g++.mike/p784.C:137:#include 
g++.mike/p785.C:3249:#include 

It seems to be that the last three files could have the offending
#includes removed.  operators4.C could have the Complex class replaced
with anything else, it seems to me.  crash20.C could use the stdc++
complex template too, and crash30.C could use stdc++ string, but
crash39.C, that does not use neither of these classes, seems to imply
that libg++ classes could really affect the behavior of g++ in
unexpected manners.

Is there anyway to tell runtest that `it is ok if this error occurs,
but it is not an expected one'.  It should be counted as an
unsupported test, IMO.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
Universidade Estadual de Campinas, SP, Brasil

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Results for haifa-disabled egcs-970828 g++ testsuite on sparc-sun-solaris2.5
  1997-08-30  2:06 New GCC ports? Michael P. Hayes
@ 1997-08-30  2:20 ` Alexandre Oliva
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Oliva @ 1997-08-30  2:20 UTC (permalink / raw)
  To: egcs

Joern Rennecke writes:

>> Very odd.  Alexandre is not getting any unexpected failures.
>> My setup, built from the top with just "make", using the
>> 970825 snapshot to build gcc and then that gcc to build cc1plus,
>> does get failures for the g++ tests on sparc-sun-solaris2.5.

> One thing to double-check when you are getting no failures is that the
> tests are actually run.  I've seen sometimes configuration errors that
> would result in the tests to be only compiled, so no execute failures
> could be detected.

The tests that have failed are compile-time ones, and I can assure
that my configuration does run tests.

Another possible difference is that I have built gcc with `make
bootstrap' (stage1 was compiled with gcc 2.7.2.2), then built the rest
of the package (including libg++) with make all at the top-level.
Then I installed the whole package with `make install' and tested it
manually, by running runtest (from dejagnu-970707) with a command line
such as:

runtest --tool g++ --srcdir=$egcsroot/gcc/testsuite \
GXX_UNDER_TEST=$egcsinstall/bin/gcc CXXFLAGS="-g -O"

I don't remember having got any of those errors with egcs-970825 (when
I finally set things up to produce a decent report, egcs-970828 was
released :-)

My site.exp file contained just:

set tmpdir /some/directory

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
Universidade Estadual de Campinas, SP, Brasil

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Results for haifa-disabled egcs-970828 g++ testsuite on sparc-sun-solaris2.5
@ 1997-08-30  2:06 Joern Rennecke
  0 siblings, 0 replies; 6+ messages in thread
From: Joern Rennecke @ 1997-08-30  2:06 UTC (permalink / raw)
  To: egcs

> Very odd.  Alexandre is not getting any unexpected failures.
> My setup, built from the top with just "make", using the
> 970825 snapshot to build gcc and then that gcc to build cc1plus,
> does get failures for the g++ tests on sparc-sun-solaris2.5.

One thing to double-check when you are getting no failures is that the
tests are actually run.  I've seen sometimes configuration errors that
would result in the tests to be only compiled, so no execute failures
could be detected.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Results for haifa-disabled egcs-970828 g++ testsuite on sparc-sun-solaris2.5
@ 1997-08-30  0:51 Joe Buck
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Buck @ 1997-08-30  0:51 UTC (permalink / raw)
  To: egcs

Very odd.  Alexandre is not getting any unexpected failures.
My setup, built from the top with just "make", using the
970825 snapshot to build gcc and then that gcc to build cc1plus,
does get failures for the g++ tests on sparc-sun-solaris2.5.
The only differences I can think of is that I used -O2 -g,
not -O4 -g, and I did not use --enable-shared.

Here are the FAILs and XPASSes:

FAIL: g++.brendan/crash20.C (test for excess errors)
FAIL: g++.brendan/crash30.C (test for excess errors)
FAIL: g++.brendan/crash39.C (test for excess errors)
XPASS: g++.brendan/scope4.C (test for excess errors)
FAIL: g++.law/operators4.C warning (test for errors, line 16)
FAIL: g++.law/operators4.C (test for excess errors)
FAIL: g++.mike/p658.C (test for excess errors)
XPASS: g++.mike/p7325.C *-*-* Execution test
FAIL: g++.mike/p784.C  (test for errors, line 2302)
FAIL: g++.mike/p784.C (test for excess errors)
FAIL: g++.mike/p785.C (test for excess errors)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Results for haifa-disabled egcs-970828 g++ testsuite on sparc-sun-solaris2.5
@ 1997-08-29 23:32 Alexandre Oliva
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Oliva @ 1997-08-29 23:32 UTC (permalink / raw)
  To: egcs

Test Run By oliva on Fri Aug 29 13:28:32 1997
Native configuration is sparc-sun-solaris2.5

		=== g++ tests ===

XPASS: g++.brendan/scope4.C (test for excess errors)
XPASS: g++.mike/p7325.C *-*-* Execution test

		=== g++ Summary ===

# of expected passes		3268
# of unexpected successes	2
# of expected failures		81
# of untested testcases		6
/n/temp1/gcctest/bin/egcsc version egcs-2.90.03 970828 (gcc2-970802 experimental)
configure flags: --with-gnu-as --with-gnu-ld --enable-shared
BOOT_CFLAGS: -O4 -g

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-08-30  5:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-30  5:43 Results for haifa-disabled egcs-970828 g++ testsuite on sparc-sun-solaris2.5 Joe Buck
  -- strict thread matches above, loose matches on Subject: below --
1997-08-30  5:06 libI77 fmt uncleanliness Richard Henderson
1997-08-30  5:14 ` Results for haifa-disabled egcs-970828 g++ testsuite on sparc-sun-solaris2.5 Alexandre Oliva
1997-08-30  2:06 Joern Rennecke
1997-08-30  2:06 New GCC ports? Michael P. Hayes
1997-08-30  2:20 ` Results for haifa-disabled egcs-970828 g++ testsuite on sparc-sun-solaris2.5 Alexandre Oliva
1997-08-30  0:51 Joe Buck
1997-08-29 23:32 Alexandre Oliva

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).