mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
lib/drmtest: Reject igt_fork from within igt_fork earlier
We reject it in igt_waitchildren already, but earlier is better. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
5f790db084
commit
14dd7cb8aa
@ -1035,6 +1035,7 @@ void igt_stop_helper(struct igt_helper_process *proc)
|
|||||||
bool __igt_fork(void)
|
bool __igt_fork(void)
|
||||||
{
|
{
|
||||||
assert(!test_with_subtests || in_subtest);
|
assert(!test_with_subtests || in_subtest);
|
||||||
|
assert(!test_child);
|
||||||
|
|
||||||
if (num_test_children >= test_children_sz) {
|
if (num_test_children >= test_children_sz) {
|
||||||
if (!test_children_sz)
|
if (!test_children_sz)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user