From e219925fac2d9b0b054445ac9c094d51ae30fd17 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 8 Nov 2022 10:55:42 +1100 Subject: WIP use catch2 instead of unity --- lib/catch2/catch_runner.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lib/catch2/catch_runner.cpp (limited to 'lib/catch2/catch_runner.cpp') 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 ); +} -- cgit v1.2.3