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

Function get_tests

test/test_posixtest.py:48–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def get_tests():
49 # For now, we don't require the submodule to exist. In this case we
50 # just report no tests
51 test_root = os.path.join(testsuite_root, 'conformance', 'interfaces')
52 if not os.path.exists(test_root):
53 print('posixtestsuite not found (run git submodule update --init?)')
54 return []
55 tests = filter_tests(os.listdir(test_root))
56 tests = [os.path.join(test_root, t) for t in tests]
57 return tests
58
59
60# Mark certain tests as unsupported

Callers 1

test_posixtest.pyFile · 0.85

Calls 4

filter_testsFunction · 0.85
existsMethod · 0.80
printFunction · 0.50
joinMethod · 0.45

Tested by

no test coverage detected