(module)
| 376 | |
| 377 | |
| 378 | def use_parallel_suite(module): |
| 379 | suite_supported = module.__name__ not in {'test_sanity', 'test_benchmark', 'test_sockets', 'test_interactive', 'test_stress', 'test_emrun'} |
| 380 | if not common.EMTEST_SAVE_DIR and not shared.DEBUG: |
| 381 | has_multiple_cores = parallel_testsuite.num_cores() > 1 |
| 382 | if suite_supported and has_multiple_cores: |
| 383 | return True |
| 384 | return False |
| 385 | |
| 386 | |
| 387 | def create_test_suite(is_parallel, options): |