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@xxxxxxxxxxxxxxx> > --- > 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@xxxxxxxxxxxxxxx> Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx