MCPcopy Index your code
hub / github.com/apache/tvm / test_executable

Function test_executable

tests/python/support/test_ccache.py:68–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67@pytest.mark.skipif(shutil.which("ccache") is None, reason="ccache not installed")
68def test_executable():
69 if _is_linux_like():
70 _ = _compile(create_executable, "executable", "main")
71 log = _compile(create_executable, "executable", "main")
72 assert "Succeeded getting cached result" in log
73 elif _is_windows_like():
74 _ = _compile(create_executable, "executable", "main.exe")
75 log = _compile(create_executable, "executable", "main.exe")
76 assert "Succeeded getting cached result" in log
77
78
79if __name__ == "__main__":

Callers

nothing calls this directly

Calls 3

_is_linux_likeFunction · 0.90
_is_windows_likeFunction · 0.90
_compileFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…