setup-cpp/src/gcc/__tests__/gcc.test.ts

12 lines
312 B
TypeScript
Raw Normal View History

2021-09-16 23:15:43 +08:00
import { testBin } from "../../utils/tests/test-helpers"
2021-09-16 22:03:54 +08:00
import { setupGcc } from "../gcc"
jest.setTimeout(200000)
describe("setup-gcc", () => {
it("should setup gcc", async () => {
const installInfo = await setupGcc("11.2.0", "", "")
2021-09-16 22:03:54 +08:00
await testBin("g++", ["--version"], installInfo?.binDir)
2021-09-16 22:03:54 +08:00
})
})