MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / use_parallel_suite

Function use_parallel_suite

test/runner.py:378–384  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

376
377
378def 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
387def create_test_suite(is_parallel, options):

Callers 1

load_test_suiteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected