Lines Matching refs:Runner_p
43 static int ADBG_RunSuite(ADBG_Runner_t *Runner_p, int argc, char *argv[]);
55 ADBG_Runner_t *Runner_p = NULL; in Do_ADBG_RunSuite() local
57 Runner_p = calloc(1, sizeof(*Runner_p)); in Do_ADBG_RunSuite()
58 if (Runner_p == NULL) { in Do_ADBG_RunSuite()
63 TAILQ_INIT(&Runner_p->CasesList); in Do_ADBG_RunSuite()
64 Runner_p->Suite_p = Suite_p; in Do_ADBG_RunSuite()
66 int ret = ADBG_RunSuite(Runner_p, argc, argv); in Do_ADBG_RunSuite()
67 free(Runner_p); in Do_ADBG_RunSuite()
107 ADBG_Runner_t *Runner_p, in ADBG_RunSuite() argument
119 Do_ADBG_Log("# %s", Runner_p->Suite_p->SuiteID_p); in ADBG_RunSuite()
123 TAILQ_FOREACH(case_def, &Runner_p->Suite_p->cases, link) { in ADBG_RunSuite()
151 Runner_p->Result.AbortTestSuite = 1; in ADBG_RunSuite()
155 TAILQ_INSERT_TAIL(&Runner_p->CasesList, Case_p, Link); in ADBG_RunSuite()
170 Runner_p->Result.NumTests += Case_p->Result.NumTests + in ADBG_RunSuite()
172 Runner_p->Result.NumFailedTests += in ADBG_RunSuite()
176 Runner_p->Result.NumSubCases++; in ADBG_RunSuite()
179 Runner_p->Result.NumFailedSubCases++; in ADBG_RunSuite()
181 Runner_p->Result.AbortTestSuite = Case_p->Result.AbortTestSuite; in ADBG_RunSuite()
183 if (Runner_p->Result.AbortTestSuite) { in ADBG_RunSuite()
202 Runner_p->Suite_p->SuiteID_p, in ADBG_RunSuite()
208 Runner_p->Suite_p->SuiteID_p); in ADBG_RunSuite()
211 TAILQ_FOREACH(Case_p, &Runner_p->CasesList, Link) { in ADBG_RunSuite()
242 if (Runner_p->Result.AbortTestSuite) in ADBG_RunSuite()
246 Runner_p->Result.NumTests, in ADBG_RunSuite()
247 Runner_p->Result.NumTests != 1 ? "s" : "", in ADBG_RunSuite()
248 Runner_p->Result.NumFailedTests); in ADBG_RunSuite()
250 Runner_p->Result.NumSubCases, in ADBG_RunSuite()
251 Runner_p->Result.NumSubCases != 1 ? "s" : "", in ADBG_RunSuite()
252 Runner_p->Result.NumFailedSubCases); in ADBG_RunSuite()
257 failed_test = Runner_p->Result.NumFailedSubCases; in ADBG_RunSuite()
260 Case_p = TAILQ_FIRST(&Runner_p->CasesList); in ADBG_RunSuite()
263 TAILQ_REMOVE(&Runner_p->CasesList, Case_p, Link); in ADBG_RunSuite()