diff options
author | Janis Johnson <janis187@us.ibm.com> | 2007-10-29 22:33:53 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2007-10-29 22:33:53 +0000 |
commit | 9f143763f0c95e495a4c2e62dc551eb4ed7106ef (patch) | |
tree | 253268896716ec4c8182adef692d083428f36e2c /gcc | |
parent | 489f2598af821da1157ec21cd484fcb32a5193e9 (diff) | |
download | gcc-9f143763f0c95e495a4c2e62dc551eb4ed7106ef.zip gcc-9f143763f0c95e495a4c2e62dc551eb4ed7106ef.tar.gz gcc-9f143763f0c95e495a4c2e62dc551eb4ed7106ef.tar.bz2 |
re PR testsuite/24841 (dg-require compilation-test trigged on test with additional-sources barfs)
PR testsuite/24841
* doc/sourcebuild.texi (Test Directives): Document that dg-require
directives must come before dg-additional-sources.
From-SVN: r129744
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/sourcebuild.texi | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab0ee0f..ea03a24 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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. + 2007-10-29 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/33723 diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 6f6dcd0..b4d8b34 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -1006,14 +1006,16 @@ Expect the test to fail if the conditions (which are the same as for @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 |