Прошло 2 года.
This commit is contained in:
3
lib/epdiy/examples/test/main/CMakeLists.txt
Normal file
3
lib/epdiy/examples/test/main/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
idf_component_register(SRCS "main.c" INCLUDE_DIRS ".")
|
||||
15
lib/epdiy/examples/test/main/main.c
Normal file
15
lib/epdiy/examples/test/main/main.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
#include <unity.h>
|
||||
#include "unity_test_runner.h"
|
||||
|
||||
static void print_banner(const char* text) {
|
||||
printf("\n#### %s #####\n\n", text);
|
||||
}
|
||||
|
||||
void app_main(void) {
|
||||
print_banner("Running all the registered tests");
|
||||
UNITY_BEGIN();
|
||||
// unity_run_tests_by_tag("lut", false);
|
||||
unity_run_all_tests();
|
||||
UNITY_END();
|
||||
}
|
||||
Reference in New Issue
Block a user