summaryrefslogtreecommitdiff
path: root/lib/catch2/catch_runner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/catch2/catch_runner.cpp')
-rw-r--r--lib/catch2/catch_runner.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/catch2/catch_runner.cpp b/lib/catch2/catch_runner.cpp
new file mode 100644
index 00000000..8cd5c120
--- /dev/null
+++ b/lib/catch2/catch_runner.cpp
@@ -0,0 +1,10 @@
+#include "catch_runner.hpp"
+
+#define CATCH_CONFIG_RUNNER
+#include "catch2/catch.hpp"
+
+void run_catch(void) {
+ int argc = 1;
+ char *argv = "catch2";
+ Catch::Session().run( argc, &argv );
+}