projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f790db
)
lib/drmtest: Reject igt_fork from within igt_fork earlier
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 11 Sep 2013 09:51:40 +0000
(11:51 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 11 Sep 2013 09:51:40 +0000
(11:51 +0200)
We reject it in igt_waitchildren already, but earlier is better.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c
patch
|
blob
|
history
diff --git
a/lib/drmtest.c
b/lib/drmtest.c
index
5c52ddc
..
f31091a
100644
(file)
--- a/
lib/drmtest.c
+++ b/
lib/drmtest.c
@@
-1035,6
+1035,7
@@
void igt_stop_helper(struct igt_helper_process *proc)
bool __igt_fork(void)
{
assert(!test_with_subtests || in_subtest);
+ assert(!test_child);
if (num_test_children >= test_children_sz) {
if (!test_children_sz)