mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
16 lines
384 B
C++
16 lines
384 B
C++
#include <components/debug/debugging.hpp>
|
|
#include <components/testing/util.hpp>
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
Log::sMinDebugLevel = Debug::getDebugLevel();
|
|
|
|
testing::InitGoogleTest(&argc, argv);
|
|
|
|
const int result = RUN_ALL_TESTS();
|
|
if (result == 0)
|
|
std::filesystem::remove_all(TestingOpenMW::outputDir());
|
|
return result;
|
|
}
|