Daniel Vetter
cd1f220847
lib/drmtest: extract igt_fork from gem_concurrent_blt
...
Making sure that we correctly collect the exit codes from all children
is a bit a hassle. So add another magic igt codeblock for easy forking
and joining.
Note that children are (currently at least) not allowed to call igt_skip.
Add an assert to enforce this.
v2:
- Properly propagate the exit code.
- Fix the segfault.
- Add a child int and num_children paramter to the magic codeblock as
suggested by Chris Wilson.
- Don't dump noise into stdout when a child thread fails, the parent
will do that for us already.
v3: Now with some docs.
v4: Fixup igt_waitchildren to properly reset state so it can be used
again.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-29 18:18:33 +02:00
..
2013-08-20 22:26:32 +02:00
2012-04-10 16:23:18 +02:00
2013-05-10 15:26:42 +01:00
2013-08-21 23:18:00 +02: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-08-13 15:07:44 +02:00
2013-07-21 22:04:20 -07:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-14 18:02:46 +02:00
2013-08-19 10:47:53 +02:00
2013-08-29 18:18:33 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:15:17 +02:00
2013-08-14 18:02:46 +02:00
2013-08-19 10:55:28 +02:00
2013-08-19 18:16:11 +01:00
2013-08-15 16:46:58 +01:00
2013-08-19 11:09:25 +02:00
2013-08-19 10:55:28 +02:00
2013-08-13 15:15:17 +02:00
2013-08-19 18:16:11 +01:00
2013-08-23 22:32:29 +02:00
2013-08-23 22:32:29 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:15:17 +02:00
2013-08-14 16:08:00 +02:00
2013-08-14 00:03:35 +01:00
2013-08-14 18:02:46 +02:00
2013-08-14 16:08:00 +02:00
2013-08-13 15:07:44 +02:00
2013-08-19 10:34:34 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:15:17 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:07:44 +02:00
2013-08-26 19:44:31 +02:00
2013-08-13 15:07:44 +02:00
2013-08-26 19:44:31 +02:00
2013-08-13 15:15:17 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:15:17 +02:00
2013-08-14 18:02:46 +02:00
2013-08-14 18:02:46 +02:00
2013-08-14 18:02:46 +02:00
2013-08-14 18:02:46 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:15:18 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:15:17 +02:00
2013-08-12 12:20:22 +02:00
2013-08-12 12:20:22 +02:00
2013-08-13 15:15:17 +02:00
2013-08-14 18:02:46 +02:00
2013-08-19 11:09:25 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:15:17 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:07:44 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:07:44 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:15:17 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-14 18:02:46 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-29 18:04:11 +01:00
2013-08-14 18:02:46 +02:00
2013-08-26 17:20:29 +03:00
2013-08-26 19:44:31 +02:00
2012-09-18 14:06:14 +01:00
2012-08-08 08:51:55 +02:00
2013-08-22 13:19:18 -03:00
2013-08-14 22:24:43 +02:00
2013-08-14 18:02:46 +02:00
2013-08-14 22:19:43 +02:00
2013-08-19 10:34:34 +02:00
2013-08-12 12:20:22 +02:00
2013-07-25 21:51:53 +02:00
2012-05-31 15:58:29 +02:00
2013-08-19 10:47:53 +02:00
2013-08-23 09:30:47 +02:00
2012-12-20 11:02:19 +01:00
2012-01-24 11:28:25 +01:00
2013-08-13 15:07:44 +02: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