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

13 lines
402 B
TypeScript
Raw Normal View History

import { InstallationInfo } from "../../utils/setup/setupBin"
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("", "", "")
2021-09-16 22:03:54 +08:00
await testBin("g++", ["--version"], (installInfo as InstallationInfo | undefined)?.binDir)
2021-09-16 22:03:54 +08:00
})
})