tests: do not attempt to parallelize test suites with only 1 test case
Summary: Depends on D5911 Reviewers: stefan_schmidt Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5916
This commit is contained in:
parent
ffbbf7b7d6
commit
1885374ce5
|
@ -256,7 +256,7 @@ _efl_suite_build_and_run(int argc, const char **argv, const char *suite_name, co
|
|||
sr = srunner_create(s);
|
||||
do_fork = _efl_test_fork_has(sr);
|
||||
if (do_fork)
|
||||
can_fork = strcmp(suite_name, "Eldbus" /* T6848 */) && strcmp(suite_name, "eina_init_module");
|
||||
can_fork = strcmp(suite_name, "Eldbus" /* T6848 */) && strcmp(suite_name, "eina_init_module") && etc[1].test_case /* can't parallelize 1 test */;
|
||||
|
||||
for (i = 0; etc[i].test_case; ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue