Message ID | 1412869853-7689-2-git-send-email-thomas.wood@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Oct 09, 2014 at 04:50:53PM +0100, Thomas Wood wrote: > Signed-off-by: Thomas Wood <thomas.wood@intel.com> > --- > tests/kms_force_connector.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/kms_force_connector.c b/tests/kms_force_connector.c > index 96881c7..361bf84 100644 > --- a/tests/kms_force_connector.c > +++ b/tests/kms_force_connector.c > @@ -54,7 +54,7 @@ main (int argc, char **argv) > connector = NULL; > } > > - igt_assert(connector); > + igt_require(connector); If you rename this vga_connector, the error message will be immediately understandable. -Chris
diff --git a/tests/kms_force_connector.c b/tests/kms_force_connector.c index 96881c7..361bf84 100644 --- a/tests/kms_force_connector.c +++ b/tests/kms_force_connector.c @@ -54,7 +54,7 @@ main (int argc, char **argv) connector = NULL; } - igt_assert(connector); + igt_require(connector); /* force the connector on and check the reported values */ kmstest_force_connector(drm_fd, connector, FORCE_CONNECTOR_ON);
Signed-off-by: Thomas Wood <thomas.wood@intel.com> --- tests/kms_force_connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)