mirror of https://github.com/aminya/setup-cpp
test: increase timeout of the tests
This commit is contained in:
parent
a8477cb234
commit
ca064b68e0
|
@ -1,7 +1,7 @@
|
|||
import { setupBrew } from "../brew"
|
||||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-brew", () => {
|
||||
it("should setup brew", async () => {
|
||||
if (process.platform !== "darwin") {
|
||||
|
|
|
@ -2,7 +2,7 @@ import { setupCcache } from "../ccache"
|
|||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
import { InstallationInfo } from "../../utils/setup/setupBin"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-ccache", () => {
|
||||
it("should setup ccache", async () => {
|
||||
const installInfo = await setupCcache("", "", process.arch)
|
||||
|
|
|
@ -2,7 +2,7 @@ import { InstallationInfo } from "../../utils/setup/setupBin"
|
|||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
import { setupChocolatey } from "../chocolatey"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-chocolatey", () => {
|
||||
it("should setup chocolatey", async () => {
|
||||
if (process.platform !== "win32") {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { setupCmake } from "../cmake"
|
||||
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
|
||||
describe("setup-cmake", () => {
|
||||
let directory: string
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { setupConan } from "../conan"
|
||||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-conan", () => {
|
||||
it("should setup conan", async () => {
|
||||
const installInfo = await setupConan("", "", process.arch)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { setupCppcheck } from "../cppcheck"
|
||||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-cppcheck", () => {
|
||||
it("should setup cppcheck", async () => {
|
||||
const installInfo = await setupCppcheck("", "", process.arch)
|
||||
|
|
|
@ -2,7 +2,7 @@ import { setupDoxygen } from "../doxygen"
|
|||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
import { InstallationInfo } from "../../utils/setup/setupBin"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-doxygen", () => {
|
||||
it("should setup doxygen", async () => {
|
||||
const installInfo = await setupDoxygen("", "", process.arch)
|
||||
|
|
|
@ -2,7 +2,7 @@ import { testBin } from "../../utils/tests/test-helpers"
|
|||
import { setupGcc } from "../gcc"
|
||||
import { getVersion } from "../../default_versions"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-gcc", () => {
|
||||
it("should setup gcc", async () => {
|
||||
const version = getVersion("gcc", undefined) ?? "11"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { setupGcovr } from "../gcovr"
|
||||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-gcovr", () => {
|
||||
it("should setup gcovr", async () => {
|
||||
const installInfo = await setupGcovr("", "", process.arch)
|
||||
|
|
|
@ -3,7 +3,7 @@ import { getSpecificVersionAndUrl } from "../../utils/setup/version"
|
|||
import { isValidUrl } from "../../utils/http/validate_url"
|
||||
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
async function testUrl(version: string) {
|
||||
const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { setupMeson } from "../meson"
|
||||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-meson", () => {
|
||||
it("should setup meson", async () => {
|
||||
const installInfo = await setupMeson("", "", process.arch)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
import { setupMSVC } from "../msvc"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-msvc", () => {
|
||||
it("should setup msvc", async () => {
|
||||
if (process.platform !== "win32") {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { setupNinja } from "../ninja"
|
||||
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
async function testNinja(directory: string) {
|
||||
const { binDir } = await setupNinja("1.10.2", directory, "")
|
||||
await testBin("ninja", ["--version"], binDir)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { setupOpencppcoverage } from "../opencppcoverage"
|
||||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
|
||||
jest.setTimeout(200000)
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-OpenCppCoverage", () => {
|
||||
it("should setup OpenCppCoverage", async () => {
|
||||
if (process.platform !== "win32") {
|
||||
|
|
Loading…
Reference in New Issue