Daniel Vetter
7553ad6e10
tests: use drmtest_skip() in caching ioctl helpers
...
This way we can rip out all the skip handling from the test control flow,
and additionally (by using drmtest_retval()) even get correct exit codes.
The only tricky part is that when we only want ot skip parts of a test
(like for gem_pread and gem_pwrite) we need to split out those parts as
subtests. But no addition of control-flow is required, the set/longjmp
magic in the helpers all makes it happen.
Also we make extensive use of the behaviour of drmtest_skip to skip
all subsequent subtests if it is called outside of a subtest. This allows
us to re-flatten the control flow a lot.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-12 11:17:58 +02:00
..
2013-08-12 11:10:26 +02:00
2012-04-10 16:23:18 +02:00
2013-05-10 15:26:42 +01:00
2013-07-01 18:54:40 +02:00
2013-07-01 18:54:40 +02:00
2013-07-01 18:54:40 +02:00
2013-07-21 22:04:20 -07:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2010-10-26 11:46:52 +01:00
2010-10-26 11:46:52 +01:00
2010-10-26 11:46:52 +01:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:17:58 +02:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:56:35 +01:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:56:35 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2011-11-11 11:17:59 -02:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:56:53 +01:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2012-06-04 17:50:51 +01:00
2012-11-25 13:55:55 +01:00
2013-08-12 11:17:58 +02:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:56:35 +01:00
2013-08-12 11:17:58 +02:00
2013-08-12 11:17:58 +02:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:17:58 +02:00
2013-08-12 11:17:58 +02:00
2013-07-18 15:49:02 +01:00
2013-05-30 08:40:43 +01:00
2013-03-22 12:19:58 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:56:35 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:56:35 +01:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:56:59 +01:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:56:35 +01:00
2013-07-18 15:56:35 +01:00
2013-07-18 15:56:35 +01:00
2013-07-18 15:56:35 +01:00
2013-04-26 08:30:52 +01:00
2013-04-09 20:21:13 +02:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2013-07-18 16:16:19 +01:00
2013-07-18 16:16:19 +01:00
2013-07-18 15:49:02 +01:00
2013-04-09 20:21:13 +02:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2013-08-12 11:10:26 +02:00
2012-06-14 10:15:42 -07:00
2012-06-14 10:15:42 -07:00
2012-06-14 10:15:42 -07:00
2012-06-14 10:15:42 -07:00
2012-06-14 10:15:42 -07:00
2009-03-26 18:47:42 -07:00
2011-09-15 19:39:44 +02:00
2009-03-26 18:47:42 -07:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:17:58 +02:00
2012-09-18 14:06:14 +01:00
2012-08-08 08:51:55 +02:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:10:26 +02:00
2013-08-12 11:10:26 +02:00
2013-07-18 15:49:02 +01:00
2013-07-25 21:51:53 +02:00
2012-05-31 15:58:29 +02:00
2013-07-18 15:49:02 +01:00
2013-07-18 15:49:02 +01:00
2012-12-20 11:02:19 +01:00
2012-01-24 11:28:25 +01:00
2013-07-18 15:49:02 +01:00
2012-01-24 10:50:10 +01:00
2013-07-21 22:04:20 -07:00
2012-01-15 16:05:43 +01:00
2013-07-03 08:17:18 +01:00