diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-11-08 10:58:30 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-11-08 10:58:30 +0100 |
commit | fc9ba4264eafbb5a6ec0f3cc4cd2e1964c9b8fcf (patch) | |
tree | 465568f63d306c1de9bb8b934b08ee4f033050ad /test/testc.c | |
parent | 6b986090d954dbac91bbb3c43ce7c3328c91a780 (diff) |
New upstream version 6.9.6upstream/6.9.6
Diffstat (limited to 'test/testc.c')
-rw-r--r-- | test/testc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/testc.c b/test/testc.c index fbede67..b3a34ea 100644 --- a/test/testc.c +++ b/test/testc.c @@ -14,11 +14,19 @@ static int nsucc = 0; static int nfail = 0; static int nerror = 0; +#ifdef __TRUSTINSOFT_ANALYZER__ +static int nall = 0; +#endif + static FILE* err_file; static OnigRegion* region; static void xx(char* pattern, char* str, int from, int to, int mem, int not) { +#ifdef __TRUSTINSOFT_ANALYZER__ + if (nall++ % TIS_TEST_CHOOSE_MAX != TIS_TEST_CHOOSE_CURRENT) return; +#endif + int r; regex_t* reg; OnigErrorInfo einfo; |