lib/drmtest: don't complete fixtures with a longjmp
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 26 Aug 2013 18:52:14 +0000 (20:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 26 Aug 2013 18:55:54 +0000 (20:55 +0200)
commit8869e1e6281139f2c12a9a774becd6c1f892274f
treee9fede25ed02c1f8e30c006ac53ae9ff4fc85fae
parentcf93ba45b00e302c755e1ea5fb860ee5f5379e24
lib/drmtest: don't complete fixtures with a longjmp

Longjmp creates havoc with stack variables of the current stackframe.
And since fixtures should be used to set up such variables creating
havoc isn't a great idea. With this I can revert a bunch of
bogus patches I've done to paper over this by moving stack variables
to be global.

The same issue is actually a feature for subtest blocks since subtests
should be independant anyway.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c
lib/drmtest.h