diff options
Diffstat (limited to 'test/test_syntax.c')
-rw-r--r-- | test/test_syntax.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_syntax.c b/test/test_syntax.c index df80e59..06fef45 100644 --- a/test/test_syntax.c +++ b/test/test_syntax.c @@ -17,6 +17,10 @@ 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; @@ -26,6 +30,10 @@ static OnigSyntaxType* Syntax; static void xx(char* pattern, char* str, int from, int to, int mem, int not, int error_no) { +#ifdef __TRUSTINSOFT_ANALYZER__ + if (nall++ % TIS_TEST_CHOOSE_MAX != TIS_TEST_CHOOSE_CURRENT) return; +#endif + int r; regex_t* reg; OnigErrorInfo einfo; |