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

Function test_cflags_include_paths

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

Source from the content-addressed store, hash-verified

93
94
95def test_cflags_include_paths() -> None:
96 include_dir = libinfo.find_include_path()
97 dlpack_dir = libinfo.find_dlpack_include_path()
98 assert _stdout_for("--cflags") == f"-I{include_dir} -I{dlpack_dir}"
99
100
101def test_ldflags_only_on_unix() -> None:

Callers

nothing calls this directly

Calls 1

_stdout_forFunction · 0.85

Tested by

no test coverage detected