Tweaks for native engine tests

#601
This commit is contained in:
Wojtek Figat
2021-08-16 12:18:11 +02:00
parent 6a055bd4c5
commit d68189ae3d
6 changed files with 24 additions and 14 deletions

View File

@@ -0,0 +1,14 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#if PLATFORM_WINDOWS || PLATFORM_LINUX
#define CATCH_CONFIG_RUNNER
#include <ThirdParty/catch2/catch.hpp>
int main(int argc, char* argv[])
{
int result = Catch::Session().run(argc, argv);
return result;
}
#endif