setup-cpp
Version:
Install all the tools required for building and testing C++/C projects.
16 lines (13 loc) • 558 B
text/typescript
import { testBin } from "../../utils/tests/test-helpers.js"
import { setupOpencppcoverage } from "../opencppcoverage.js"
jest.setTimeout(300000)
describe("setup-OpenCppCoverage", () => {
if (process.platform !== "win32") {
it.skip("should setup OpenCppCoverage", () => {})
return
}
it("should setup OpenCppCoverage", async () => {
const installationInfo = await setupOpencppcoverage("", "", process.arch)
await testBin("OpenCppCoverage", null, installationInfo?.binDir) // OpenCppCoverage exits with non-zero even with --help
})
})