embed munit into the project

This commit is contained in:
2026-10-06 22:36:39 +02:00
parent bcbd03269f
commit ce8b44f4e9
4 changed files with 157 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#include "munit/munit.h"
extern const MunitSuite sdl_suite;
int main(int argc, char *argv[]) {
MunitSuite sub_suites[] = {
sdl_suite,
{ // terminator
NULL,
NULL,
NULL,
0,
MUNIT_SUITE_OPTION_NONE
}
};
MunitSuite master_suite = {
"",
NULL,
sub_suites,
1,
MUNIT_SUITE_OPTION_NONE
};
return munit_suite_main(&master_suite, NULL, argc, argv);
}