This is the mail archive of the gcc@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]

problems with dejagnu


I'm getting different results every time I run `make -k check'.
Is this normal? ;-)

As far as I can tell, the intermittent additional failures that I get
are spurious ones which seem to be caused by the output of gcc being
somehow truncated.  The tests work fine if I execute run them manually
using ".../xgcc -B.../ ...".  The tests which are giving intermittent
results are gcc.dg/typespec-1.c and gcc.dg/format/ext-3.c,
both of which have a large number of errors or warnings, and the symptom
is that according to runtests, gcc is not reporting the last few.

My environment is as follows:
	- OS is Debian Linux 3.0 (stable)
	- CPU is x86
	- dejagnu version 1.4.2-1.1
	- expect version 5.32.2-4
	- tcl version 8.3.3-7
	- binutils version 2.12.90.0.1-4
	- gcc sources version gcc_ss_20020909
	  (obtained by `cvs checkout -rgcc_latest_snapshot gcc')

Here's an example of the kind of failures I'm getting:

FAIL: gcc.dg/typespec-1.c unsigned long long int double (test for errors, line 934)
FAIL: gcc.dg/typespec-1.c unsigned long long int signed (test for errors, line 935)
FAIL: gcc.dg/typespec-1.c unsigned long long int unsigned (test for errors, line 936)
FAIL: gcc.dg/typespec-1.c unsigned long long int _Bool (test for errors, line 937)
FAIL: gcc.dg/typespec-1.c (test for excess errors)
FAIL: gcc.dg/format/ext-3.c bad %-0 (test for warnings, line 212)
FAIL: gcc.dg/format/ext-3.c bad %_0 (test for warnings, line 213)
FAIL: gcc.dg/format/ext-3.c bad %^# (test for warnings, line 215)
FAIL: gcc.dg/format/ext-3.c (test for excess errors)

Any hints on how to fix or work-around this problem would be much appreciated.

P.S.  I'm also getting failures for the following four tests, but these
seem to be failing reliably ;-)

FAIL: gcc.dg/cpp/c++98-pedantic.C  (test for warnings, line 9)
FAIL: gcc.dg/cpp/c++98-pedantic.C (test for excess errors)
FAIL: gcc.dg/cpp/c++98.C (test for excess errors)
FAIL: gcc.dg/noncompile/incomplete-1.c (test for excess errors)

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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