WIP use catch2 instead of unity

This commit is contained in:
jacqueline
2022-11-08 10:55:42 +11:00
parent 1958b262ee
commit e219925fac
10 changed files with 18013 additions and 27 deletions
+1
View File
@@ -0,0 +1 @@
idf_component_register(SRCS "catch_runner.cpp" INCLUDE_DIRS "include")
+10
View File
@@ -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 );
}
File diff suppressed because it is too large Load Diff
+3
View File
@@ -0,0 +1,3 @@
#pragma once
void run_catch(void);