summaryrefslogtreecommitdiff
path: root/test/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/main/main.c')
-rw-r--r--test/main/main.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/main/main.c b/test/main/main.c
new file mode 100644
index 00000000..6806aa2e
--- /dev/null
+++ b/test/main/main.c
@@ -0,0 +1,22 @@
+#include <stdio.h>
+#include <string.h>
+#include "unity.h"
+
+static void print_banner(const char* text);
+
+void app_main(void)
+{
+ print_banner("Running tests without [ignore] tag");
+ UNITY_BEGIN();
+ unity_run_tests_by_tag("[ignore]", true);
+ UNITY_END();
+
+ print_banner("Starting interactive test menu");
+ unity_run_menu();
+}
+
+static void print_banner(const char* text)
+{
+ printf("\n#### %s #####\n\n", text);
+}
+