OSDN Git Service

* doc/sourcebuild.texi (Test directives): Document that arguments
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Mar 2010 22:05:30 +0000 (22:05 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Mar 2010 22:05:30 +0000 (22:05 +0000)
commit6f49fb50853915b404a15265f0219ddaf98c4fe7
treeb7aef3740414b72a1357ba8c9a64141be8bc2c72
parent233f4f25baa3847c23b3862f6b3bdc7691199a53
* doc/sourcebuild.texi (Test directives): Document that arguments
include-opts and exclude-opts are now optional for dg-skip-if,
dg-xfail-if, dg-xfail-run-if, and dg-shouldfail.

* lib/target-supports-dg.exp (check-flags): Provide defaults for
include-opts and exclude-opts; skip checking the flags if arguments
are the same as the defaults.
(dg-xfail-if): Verify the number of arguments, supply defaults
for unspecified optional arguments.
(dg-skip-if, dg-xfail-run-if): Verify the number of arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157206 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports-dg.exp