summaryrefslogtreecommitdiff
path: root/test/main/main.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2022-11-08 10:55:42 +1100
committerjacqueline <me@jacqueline.id.au>2022-11-08 10:55:42 +1100
commite219925fac2d9b0b054445ac9c094d51ae30fd17 (patch)
tree676c36f897a5eedcfa69ef9b98ceb5eeedb62b54 /test/main/main.cpp
parent1958b262ee84960c65ebf1d465c8c7d80e32b58c (diff)
downloadtangara-fw-e219925fac2d9b0b054445ac9c094d51ae30fd17.tar.gz
WIP use catch2 instead of unity
Diffstat (limited to 'test/main/main.cpp')
-rw-r--r--test/main/main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/main/main.cpp b/test/main/main.cpp
new file mode 100644
index 00000000..06e733c4
--- /dev/null
+++ b/test/main/main.cpp
@@ -0,0 +1,17 @@
+#include <stdio.h>
+#include <string.h>
+
+static void print_banner(const char* text);
+
+extern "C" {
+ void app_main(void)
+ {
+ print_banner("Running tests without [ignore] tag");
+ }
+}
+
+static void print_banner(const char* text)
+{
+ printf("\n#### %s #####\n\n", text);
+}
+