summaryrefslogtreecommitdiff
path: root/src/qdoc/catch_generators/tests/main.cpp
blob: 48ce73f12fed10c181fa89c52442bddf68f52ee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#define CATCH_CONFIG_RUNNER
#include <catch/catch.hpp>

// A custom main was provided to avoid linking errors when using minGW
// that were appearing in CI.
// See https://github.com/catchorg/Catch2/issues/1287
int main(int argc, char *argv[])
{
    return Catch::Session().run(argc, argv);
}