2024-06-15 13:53:13 +02:00
|
|
|
#include <components/debug/debugging.hpp>
|
2025-03-22 14:36:55 +01:00
|
|
|
#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);
|
2025-03-22 14:36:55 +01:00
|
|
|
|
|
|
|
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
|
|
|
}
|