[Intel-gfx] [PATCH igt] igt: Add basic framework for GVT-g testing

Chris Wilson chris at chris-wilson.co.uk
Tue Jun 21 12:22:07 UTC 2016


On Tue, Jun 21, 2016 at 12:17:48PM +0000, Wang, Zhi A wrote:
> To me, atexit is not reliable. As if something wrong happened during the test and an unexpected signal was received, the prog would be aborted. atexit() would not work on that case. Better do failsafe work in parent process and run the test case in child process I think.

Welcome to igt. atexit here handles signals, but we don't yet have
universal setup/cleanup. Just a wishlist.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list