This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[doc] (checked in) fix testsuite info in gccint
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 29 Oct 2007 15:37:20 -0700
- Subject: [doc] (checked in) fix testsuite info in gccint
- Reply-to: janis187 at us dot ibm dot com
Fix up some documentation that I had promised long ago. Tested with
make dvi/info/html, checked into trunk.
2007-10-29 Janis Johnson <janis187@us.ibm.com>
PR testsuite/24841
* doc/sourcebuild.texi (Test Directives): Document that dg-require
directives must come before dg-additional-sources.
Index: gcc/doc/sourcebuild.texi
===================================================================
--- gcc/doc/sourcebuild.texi (revision 129723)
+++ gcc/doc/sourcebuild.texi (working copy)
@@ -1006,14 +1006,16 @@
@item @{ dg-require-@var{support} args @}
Skip the test if the target does not provide the required support;
see @file{gcc-dg.exp} in the GCC testsuite for the actual directives.
-These directives must appear after any @code{dg-do} directive in the test.
+These directives must appear after any @code{dg-do} directive in the test
+and before any @code{dg-additional-sources} directive.
They require at least one argument, which can be an empty string if the
specific procedure does not examine the argument.
@item @{ dg-require-effective-target @var{keyword} @}
Skip the test if the test target, including current multilib flags,
is not covered by the effective-target keyword.
-This directive must appear after any @code{dg-do} directive in the test.
+This directive must appear after any @code{dg-do} directive in the test
+and before any @code{dg-additional-sources} directive.
@item @{ dg-shouldfail @var{comment} @{ @var{selector} @} @{ @var{include-opts} @} @{ @var{exclude-opts} @} @}
Expect the test executable to return a nonzero exit status if the