All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH IGT] tests/chamelium: Close DRM file descriptor after tests
Date: Mon, 12 Jun 2017 18:21:45 +0300	[thread overview]
Message-ID: <1497280905.10440.0.camel@linux.intel.com> (raw)
In-Reply-To: <20170612143935.14309-1-paul.kocialkowski@linux.intel.com>

On Mon, 2017-06-12 at 17:39 +0300, Paul Kocialkowski wrote:
> This adds a call to close the DRM file descriptor. It is reauired as IGT
> will attempt to become DRM master after running the test, resulting in a
> failure.

This should fix (at least) 3 of the failures seen on the CI machine that runs
chamelium tests.

> Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
> ---
>  tests/chamelium.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/chamelium.c b/tests/chamelium.c
> index acd17886..bd7772f8 100644
> --- a/tests/chamelium.c
> +++ b/tests/chamelium.c
> @@ -749,4 +749,8 @@ igt_main
>  		connector_subtest("vga-hpd-without-ddc", VGA)
>  			test_hpd_without_ddc(&data, port);
>  	}
> +
> +	igt_fixture {
> +		close(data.drm_fd);
> +	}
>  }
-- 
Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2017-06-12 15:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12 14:39 [PATCH IGT] tests/chamelium: Close DRM file descriptor after tests Paul Kocialkowski
2017-06-12 15:21 ` Paul Kocialkowski [this message]
2017-06-13 12:30   ` Arkadiusz Hiler
2017-06-14  9:36   ` Chris Wilson
2017-06-14  9:54     ` Paul Kocialkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1497280905.10440.0.camel@linux.intel.com \
    --to=paul.kocialkowski@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.