add more tests, improve testing system

This commit is contained in:
Kyryl Melekhin
2021-07-13 16:48:20 +00:00
parent 3d4b823a30
commit 6ea4f0f7ed
2 changed files with 123 additions and 9 deletions

2
pike.c
View File

@@ -645,7 +645,7 @@ int main(int argc, char *argv[])
for (int i = 2; i < argc; i++) {
printf("sub depth %d\n", subidx);
if(!re_pikevm(_code, argv[i], sub, sub_els))
{ printf("-no match-\n"); continue; }
{ printf("-nomatch-\n"); continue; }
for(int k=sub_els; k>0; k--)
if(sub[k-1])
break;