Fixed compiling tests with the new test layout

Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
Fabian Sauter 2022-05-19 13:06:55 +02:00
parent b95df8d0a0
commit 34f9d58722
22 changed files with 216 additions and 69 deletions

View file

@ -105,3 +105,16 @@ TEST(TestManager, TestClearDestroy)
mgr.destroy();
}
int
main(int argc, char* argv[])
{
testing::InitGoogleTest(&argc, argv);
#if KOMPUTE_ENABLE_SPDLOG
spdlog::set_level(
static_cast<spdlog::level::level_enum>(KOMPUTE_LOG_LEVEL));
#endif
return RUN_ALL_TESTS();
}