WIP use catch2 instead of unity
This commit is contained in:
@@ -0,0 +1 @@
|
||||
idf_component_register(SRCS "catch_runner.cpp" INCLUDE_DIRS "include")
|
||||
@@ -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
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
void run_catch(void);
|
||||
Reference in New Issue
Block a user