MCPcopy Create free account
hub / github.com/apache/tvm / test_shared

Function test_shared

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

Source from the content-addressed store, hash-verified

54
55@pytest.mark.skipif(shutil.which("ccache") is None, reason="ccache not installed")
56def test_shared():
57 if _is_linux_like():
58 _ = _compile(create_shared, "shared", "main.o")
59 log = _compile(create_shared, "shared", "main.o")
60 assert "Succeeded getting cached result" in log
61 elif _is_windows_like():
62 _ = _compile(create_shared, "shared", "main.obj")
63 log = _compile(create_shared, "shared", "main.obj")
64 assert "Succeeded getting cached result" in log
65
66
67@pytest.mark.skipif(shutil.which("ccache") is None, reason="ccache not installed")

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…