Move catch main to separated file so tests compile a lot faster

This commit is contained in:
Vinícius Garcia
2016-07-08 20:41:37 -03:00
parent 2d437c3b28
commit b47ec33d95
3 changed files with 14 additions and 7 deletions

10
catch.cpp Normal file
View File

@@ -0,0 +1,10 @@
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
// Defined on test-shunting-yard.cpp
void PREPARE_ENVIRONMENT();
int main(int argc, char** argv) {
PREPARE_ENVIRONMENT();
return Catch::Session().run(argc, argv);
}