diff --git a/src/lib/test/main.c b/src/lib/test/main.c index f4f970c..4628ca6 100644 --- a/src/lib/test/main.c +++ b/src/lib/test/main.c @@ -4,13 +4,14 @@ #include -int main(void) +int main(int argc, char *argv[]) { char *buffer; + int githubActions = argc == 2 && strcmp(argv[1], "--github") == 0; //THIS IS JUST SHIT FOR GITHUB ACTIONS (LOW RAM) inputFlags flags = { - 1, //SKIP CHECK + githubActions, //SKIP CHECK 0, //NO OUTPUT }; @@ -32,7 +33,7 @@ int main(void) //DEALLOCATION free(buffer); - deallocateOutput(encrypted); + if (!githubActions) deallocateOutput(encrypted); return 0; }