* [PATCH i-g-t] tests/gem_exec_reuse: Adds cleanup at the end of test.
@ 2017-08-28 23:18 Antonio Argenziano
2017-08-28 23:35 ` ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Antonio Argenziano @ 2017-08-28 23:18 UTC (permalink / raw)
To: intel-gfx
This patch introduces a fixture at the end of the test to destroy
objects that have been created and stop the hang detector.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Antonio Argenziano <antonio.argenziano@intel.com>
---
tests/gem_exec_reuse.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/gem_exec_reuse.c b/tests/gem_exec_reuse.c
index cdfa9783..db26e57c 100644
--- a/tests/gem_exec_reuse.c
+++ b/tests/gem_exec_reuse.c
@@ -234,4 +234,11 @@ igt_main
for (n = 0; n < ncontexts; n++)
gem_context_destroy(no.fd, contexts[n]);
}
+
+ igt_fixture {
+ igt_stop_hang_detector();
+
+ gem_close(no.fd, no.batch);
+ close(no.fd);
+ }
}
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 4+ messages in thread
* ✓ Fi.CI.BAT: success for tests/gem_exec_reuse: Adds cleanup at the end of test.
2017-08-28 23:18 [PATCH i-g-t] tests/gem_exec_reuse: Adds cleanup at the end of test Antonio Argenziano
@ 2017-08-28 23:35 ` Patchwork
2017-08-29 0:42 ` ✓ Fi.CI.IGT: " Patchwork
2017-08-29 8:51 ` [PATCH i-g-t] " Chris Wilson
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2017-08-28 23:35 UTC (permalink / raw)
To: Antonio Argenziano; +Cc: intel-gfx
== Series Details ==
Series: tests/gem_exec_reuse: Adds cleanup at the end of test.
URL : https://patchwork.freedesktop.org/series/29447/
State : success
== Summary ==
IGT patchset tested on top of latest successful build
d937dd7997059bc2801095ffb0c50f646da1ab01 docs: Add user documentation about audio support
with latest DRM-Tip kernel build CI_DRM_3012
ee53909d971d drm-tip: 2017y-08m-28d-15h-03m-59s UTC integration manifest
Test kms_cursor_legacy:
Subgroup basic-busy-flip-before-cursor-atomic:
fail -> PASS (fi-snb-2600) fdo#100215 +1
Subgroup basic-flip-after-cursor-varying-size:
fail -> PASS (fi-hsw-4770) fdo#102402 +1
fdo#100215 https://bugs.freedesktop.org/show_bug.cgi?id=100215
fdo#102402 https://bugs.freedesktop.org/show_bug.cgi?id=102402
fi-bdw-5557u total:279 pass:268 dwarn:0 dfail:0 fail:0 skip:11 time:457s
fi-blb-e6850 total:279 pass:224 dwarn:1 dfail:0 fail:0 skip:54 time:363s
fi-bsw-n3050 total:279 pass:243 dwarn:0 dfail:0 fail:0 skip:36 time:555s
fi-bwr-2160 total:279 pass:184 dwarn:0 dfail:0 fail:0 skip:95 time:252s
fi-bxt-j4205 total:279 pass:260 dwarn:0 dfail:0 fail:0 skip:19 time:520s
fi-byt-j1900 total:279 pass:254 dwarn:1 dfail:0 fail:0 skip:24 time:526s
fi-byt-n2820 total:279 pass:250 dwarn:1 dfail:0 fail:0 skip:28 time:521s
fi-elk-e7500 total:279 pass:230 dwarn:0 dfail:0 fail:0 skip:49 time:444s
fi-glk-2a total:279 pass:260 dwarn:0 dfail:0 fail:0 skip:19 time:611s
fi-hsw-4770 total:279 pass:263 dwarn:0 dfail:0 fail:0 skip:16 time:447s
fi-hsw-4770r total:279 pass:263 dwarn:0 dfail:0 fail:0 skip:16 time:423s
fi-ilk-650 total:279 pass:229 dwarn:0 dfail:0 fail:0 skip:50 time:429s
fi-ivb-3520m total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:510s
fi-ivb-3770 total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:477s
fi-kbl-7500u total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:479s
fi-kbl-7560u total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:595s
fi-kbl-r total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:597s
fi-pnv-d510 total:279 pass:223 dwarn:1 dfail:0 fail:0 skip:55 time:519s
fi-skl-6260u total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:473s
fi-skl-6700k total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:478s
fi-skl-6770hq total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:485s
fi-skl-gvtdvm total:279 pass:266 dwarn:0 dfail:0 fail:0 skip:13 time:437s
fi-skl-x1585l total:279 pass:268 dwarn:0 dfail:0 fail:0 skip:11 time:480s
fi-snb-2520m total:279 pass:251 dwarn:0 dfail:0 fail:0 skip:28 time:548s
fi-snb-2600 total:279 pass:250 dwarn:0 dfail:0 fail:0 skip:29 time:404s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_114/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* ✓ Fi.CI.IGT: success for tests/gem_exec_reuse: Adds cleanup at the end of test.
2017-08-28 23:18 [PATCH i-g-t] tests/gem_exec_reuse: Adds cleanup at the end of test Antonio Argenziano
2017-08-28 23:35 ` ✓ Fi.CI.BAT: success for " Patchwork
@ 2017-08-29 0:42 ` Patchwork
2017-08-29 8:51 ` [PATCH i-g-t] " Chris Wilson
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2017-08-29 0:42 UTC (permalink / raw)
To: Antonio Argenziano; +Cc: intel-gfx
== Series Details ==
Series: tests/gem_exec_reuse: Adds cleanup at the end of test.
URL : https://patchwork.freedesktop.org/series/29447/
State : success
== Summary ==
Test kms_flip:
Subgroup plain-flip-ts-check:
fail -> PASS (shard-hsw)
shard-hsw total:2230 pass:1231 dwarn:0 dfail:0 fail:17 skip:982 time:9703s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_114/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH i-g-t] tests/gem_exec_reuse: Adds cleanup at the end of test.
2017-08-28 23:18 [PATCH i-g-t] tests/gem_exec_reuse: Adds cleanup at the end of test Antonio Argenziano
2017-08-28 23:35 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-08-29 0:42 ` ✓ Fi.CI.IGT: " Patchwork
@ 2017-08-29 8:51 ` Chris Wilson
2 siblings, 0 replies; 4+ messages in thread
From: Chris Wilson @ 2017-08-29 8:51 UTC (permalink / raw)
To: Antonio Argenziano, intel-gfx
Quoting Antonio Argenziano (2017-08-29 00:18:34)
> This patch introduces a fixture at the end of the test to destroy
> objects that have been created and stop the hang detector.
We shouldn't have to. Resources are cleaned up by the kernel, and hang
detector is using the fork helper which is meant to make sure all is
well upon exit.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-08-29 8:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28 23:18 [PATCH i-g-t] tests/gem_exec_reuse: Adds cleanup at the end of test Antonio Argenziano
2017-08-28 23:35 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-08-29 0:42 ` ✓ Fi.CI.IGT: " Patchwork
2017-08-29 8:51 ` [PATCH i-g-t] " Chris Wilson
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.