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

Update testsuite documentation


Patch below removes an obsolete requirement from the testsuite documentation. 
This has been handled by dejagnu for some time, and a large chunk of the C++ 
testsuite doesn't conform to it anyway.

Pre-approved by Mark.

Paul

2004-04-06  Paul Brook  <paul@codesourcery.com>

	* doc/sourcebuild.texi: Remove obsolete contraint on testcases.

Index: sourcebuild.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/sourcebuild.texi,v
retrieving revision 1.43
diff -u -p -r1.43 sourcebuild.texi
--- sourcebuild.texi	14 Mar 2004 22:29:38 -0000	1.43
+++ sourcebuild.texi	6 Apr 2004 14:25:33 -0000
@@ -820,10 +820,6 @@ been fixed, or whether it may be a regre
 other information about the bug or where discussion of it may be
 found.  Some other language testsuites follow similar conventions.
 
-Test cases should use @code{abort ()} to indicate failure and
-@code{exit (0)} for success; on some targets these may be redefined to
-indicate failure and success in other ways.
-
 In the @file{gcc.dg} test suite, it is often necessary to test that an
 error is indeed a hard error and not just a warning---for example,
 where it is a constraint violation in the C standard, which must


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