()
| 66 | |
| 67 | @pytest.mark.skipif(shutil.which("ccache") is None, reason="ccache not installed") |
| 68 | def 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 | |
| 79 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected
searching dependent graphs…