Files
dl_old/third/LuaBridge3/Tests/Source/TestsMain.cpp
T
2026-04-28 18:52:55 +08:00

26 lines
558 B
C++
Vendored

// https://github.com/kunitoki/LuaBridge3
// Copyright 2018, Dmitry Tarakanov
// SPDX-License-Identifier: MIT
#include <gtest/gtest.h>
#if !defined(_WIN32) && !defined(__EMSCRIPTEN__)
#include <backward.hpp>
#endif
int main(int argc, char** argv)
{
#if !defined(_WIN32) && !defined(__EMSCRIPTEN__)
backward::SignalHandling sh;
#endif
// Disable performance tests by default
if (argc == 1)
{
testing::GTEST_FLAG(filter) = "-PerformanceTests.AllTests";
}
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}