|
@@ -1,4 +1,5 @@
|
|
|
#include <locale.h>
|
|
|
+#include <stdio.h>
|
|
|
#include <string.h>
|
|
|
|
|
|
#include "Tests.h"
|
|
@@ -14,6 +15,15 @@ static void onExit(int code, void* data) {
|
|
|
}
|
|
|
|
|
|
int main(int argAmount, const char** args) {
|
|
|
+ if(argAmount >= 2 && strcmp(args[1], "help") == 0) {
|
|
|
+ puts("alloc");
|
|
|
+ puts("realloc");
|
|
|
+ puts("pre_canary");
|
|
|
+ puts("post_canary");
|
|
|
+ puts("test;ignore");
|
|
|
+ puts("light;readLineTest");
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
setlocale(LC_ALL, "en_US.utf8");
|
|
|
bool light = false;
|
|
|
for(int i = 0; i < argAmount; i++) {
|