MCPcopy Create free account
hub / github.com/apache/trafficserver / run

Method run

src/tscore/Regression.cc:93–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93int
94RegressionTest::run(const char *atest, int regression_level)
95{
96 if (atest) {
97 dfa.compile(atest);
98 } else {
99 dfa.compile(".*");
100 }
101
102 fprintf(stderr, "REGRESSION_TEST initialization begun\n");
103 // start the non exclusive tests
104 for (RegressionTest *t = test; t; t = t->next) {
105 if ((dfa.match(t->name) >= 0)) {
106 int res = start_test(t, regression_level);
107 if (res == REGRESSION_TEST_FAILED) {
108 final_status = REGRESSION_TEST_FAILED;
109 }
110 }
111 }
112
113 current = exclusive_test;
114 return run_some(regression_level);
115}
116
117void
118RegressionTest::list()

Callers 1

mainFunction · 0.45

Calls 3

start_testFunction · 0.85
compileMethod · 0.45
matchMethod · 0.45

Tested by 1

mainFunction · 0.36