()
| 54 | |
| 55 | @pytest.mark.skipif(shutil.which("ccache") is None, reason="ccache not installed") |
| 56 | def 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") |
nothing calls this directly
no test coverage detected
searching dependent graphs…