MCPcopy Create free account
hub / github.com/apache/tvm-ffi / test_libfiles_reports_platform_library

Function test_libfiles_reports_platform_library

tests/python/test_libinfo.py:71–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70
71def test_libfiles_reports_platform_library() -> None:
72 output = _stdout_for("--libfiles")
73 if sys.platform.startswith("win32"):
74 expected = libinfo.find_windows_implib()
75 else:
76 expected = libinfo.find_libtvm_ffi()
77 assert output == expected
78 assert Path(output).is_file()
79
80
81def test_libs_reports_link_target() -> None:

Callers

nothing calls this directly

Calls 1

_stdout_forFunction · 0.85

Tested by

no test coverage detected