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

12 lines
318 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 () => {
2021-09-17 06:34:54 +08:00
const installInfo = await setupGcc("11", "", process.arch)
2021-09-16 22:03:54 +08:00
await testBin("g++", ["--version"], installInfo?.binDir)
2021-09-16 22:03:54 +08:00
})
})