This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/65205] New: Wrong dh-shouldfail usage in OpenACC libgomp tests
- From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Feb 2015 12:35:08 +0000
- Subject: [Bug testsuite/65205] New: Wrong dh-shouldfail usage in OpenACC libgomp tests
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65205
Bug ID: 65205
Summary: Wrong dh-shouldfail usage in OpenACC libgomp tests
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: openacc
Severity: major
Priority: P3
Component: testsuite
Assignee: jnorris at gcc dot gnu.org
Reporter: tschwinge at gcc dot gnu.org
A bunch of the OpenACC libgomp tests that we added are expected to terminate
with an error exit status, and printing specific error message. For a lot of
them, we wrongly just used dg-shouldfail directives to codify this, providing
the expected error message as the comment argument to dg-shouldfail. Separate
dg-output directives should be used instead, so that we can detect if the test
case actually does fail, but not for the expected reason (that is, with the
specific error message). (See
libgomp/testsuite/libgomp.oacc-fortran/data-already-1.f, for example.)