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

r174817 - in /branches/pph/gcc/testsuite: Chang...


Author: crowl
Date: Wed Jun  8 21:17:29 2011
New Revision: 174817

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174817
Log:
Update the test suite to reflect recent fixes and merges from trunk.

The following changes happened in this patch.

Conversion of a compilation failure to an assembly diff failure:

    remove the dg comments and add the comment // pph asm xdiff

Conversion of a ICE to a BOGUS

    change the dg-xfail-if line from ICE to BOGUS
    change the dg-bogus line from the ICE message to the BOGUS message
    remove the dg-prune-output lines corresponding to the ICE
        (dg knows to remove them for errors, but not for ICEs)

Update line numbers from a merge (or other edits to regular sources)
    change the line number from old to new as reflected in the test log

The output of make check filtered through the following sed command
should yield no FAIL and no XPASS.

sed -e '
	/-fpph-map=pph.map/	! {
		/^XPASS: .*test for bogus messages/	d
		/^XPASS: .*test for excess errors/	d
	}

	/^#/	p
	/^ERROR: /	p
	/^XFAIL: /	p
	/^XPASS: /	p
	/^FAIL: /	p

	d
'

The same command works to filter the log file to its essential record
of pass/fail.  In particular, it enables listing XFAILs that need work.


Index: gcc/testsuite/ChangeLog.pph

2011-06-08  Lawrence Crowl <crowl@google.com>

	* lib/dg-pph.exp (dg-pph-pos): Stop redundantly reporting a missing
	pph assembly as an xfail when its compile xfails.
	* g++.dg/pph/x1typerefs.cc: Replace ICE xfail with a bogus error xfail.
	* g++.dg/pph/x1tmplclass.cc: Likewise.
	* g++.dg/pph/x1autometh.cc: Replace ICE xfail with an assembly diff
	xfail.
	* g++.dg/pph/x1special.cc: Remove ICE xfail.
	* g++.dg/pph/x1functions.cc: Correct xfail to BOGUS rather than ERROR.
	Remove leftover pruning from previous ICE.
	* g++.dg/pph/x1template.cc: Update line number of ICE.
	* g++.dg/pph/x1variables.cc: Update line number of BOGUS.



Modified:
    branches/pph/gcc/testsuite/ChangeLog.pph
    branches/pph/gcc/testsuite/g++.dg/pph/x1autometh.cc
    branches/pph/gcc/testsuite/g++.dg/pph/x1functions.cc
    branches/pph/gcc/testsuite/g++.dg/pph/x1special.cc
    branches/pph/gcc/testsuite/g++.dg/pph/x1template.cc
    branches/pph/gcc/testsuite/g++.dg/pph/x1tmplclass.cc
    branches/pph/gcc/testsuite/g++.dg/pph/x1typerefs.cc
    branches/pph/gcc/testsuite/g++.dg/pph/x1variables.cc
    branches/pph/gcc/testsuite/lib/dg-pph.exp


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