openmw/apps/opencs_tests/main.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
384 B
C++
Raw Normal View History

2024-06-15 13:53:13 +02:00
#include <components/debug/debugging.hpp>
#include <components/testing/util.hpp>
2024-06-15 13:53:13 +02:00
2023-03-10 01:19:15 +01:00
#include <gtest/gtest.h>
int main(int argc, char* argv[])
{
2024-06-15 13:53:13 +02:00
Log::sMinDebugLevel = Debug::getDebugLevel();
2023-03-10 01:19:15 +01:00
testing::InitGoogleTest(&argc, argv);
const int result = RUN_ALL_TESTS();
if (result == 0)
std::filesystem::remove_all(TestingOpenMW::outputDir());
return result;
2023-03-10 01:19:15 +01:00
}