diff options
| author | jacqueline <me@jacqueline.id.au> | 2022-11-08 10:55:42 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2022-11-08 10:55:42 +1100 |
| commit | e219925fac2d9b0b054445ac9c094d51ae30fd17 (patch) | |
| tree | 676c36f897a5eedcfa69ef9b98ceb5eeedb62b54 /lib/catch2/catch_runner.cpp | |
| parent | 1958b262ee84960c65ebf1d465c8c7d80e32b58c (diff) | |
| download | tangara-fw-e219925fac2d9b0b054445ac9c094d51ae30fd17.tar.gz | |
WIP use catch2 instead of unity
Diffstat (limited to 'lib/catch2/catch_runner.cpp')
| -rw-r--r-- | lib/catch2/catch_runner.cpp | 10 |
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 ); +} |
