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:
Mike Blumenkrantz 2018-04-16 11:45:49 +02:00 committed by Stefan Schmidt
parent ffbbf7b7d6
commit 1885374ce5
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{