summaryrefslogtreecommitdiff
path: root/test/testc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testc.c')
-rw-r--r--test/testc.c8
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;