Changed the main method for tests

This commit is contained in:
jowr
2014-06-07 10:39:03 +02:00
parent f4be09df63
commit 42e6f941ba
2 changed files with 7 additions and 2 deletions

5
src/Tests/test_main.cpp Normal file
View File

@@ -0,0 +1,5 @@
#ifdef ENABLE_CATCH
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#endif /* ENABLE_CATCH */