stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1885374ce551cc3b542f18baca11ebed859bf0b2

commit 1885374ce551cc3b542f18baca11ebed859bf0b2
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 16 11:45:49 2018 +0200

    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
---
 src/tests/efl_check.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/efl_check.h b/src/tests/efl_check.h
index a2201f29a4..faa185b7c0 100644
--- a/src/tests/efl_check.h
+++ b/src/tests/efl_check.h
@@ -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)
      {

-- 


Reply via email to