Lines Matching refs:child
13 def default_autotest(child, test_name): argument
14 child.sendline(test_name)
15 result = child.expect(["Test OK", "Test Failed",
29 def dump_autotest(child, test_name): argument
30 child.sendline(test_name)
37 def memory_autotest(child, test_name): argument
40 child.sendline(test_name)
44 index = child.expect([regexp, "Test OK", "Test Failed",
54 size = int(child.match.groups()[0], 10)
65 def spinlock_autotest(child, test_name): argument
68 child.sendline(test_name)
70 index = child.expect(["Test OK",
82 if int(child.match.groups()[0]) < i:
84 i = int(child.match.groups()[0])
86 if int(child.match.groups()[0]) < ir:
88 ir = int(child.match.groups()[0])
99 def rwlock_autotest(child, test_name): argument
101 child.sendline(test_name)
103 index = child.expect(["Test OK",
117 if int(child.match.groups()[0]) < i:
119 i = int(child.match.groups()[0])
135 def ticketlock_autotest(child, test_name): argument
138 child.sendline(test_name)
140 index = child.expect(["Test OK",
152 if int(child.match.groups()[0]) < i:
154 i = int(child.match.groups()[0])
156 if int(child.match.groups()[0]) < ir:
158 ir = int(child.match.groups()[0])
168 def mcslock_autotest(child, test_name): argument
171 child.sendline(test_name)
173 index = child.expect(["Test OK",
185 if int(child.match.groups()[0]) < i:
187 i = int(child.match.groups()[0])
189 if int(child.match.groups()[0]) < ir:
191 ir = int(child.match.groups()[0])
201 def logs_autotest(child, test_name): argument
202 child.sendline(test_name)
212 index = child.expect([log_msg,
223 index = child.expect(["Test OK",
230 def timer_autotest(child, test_name): argument
231 child.sendline(test_name)
233 index = child.expect(["Start timer stress tests",
242 index = child.expect(["Start timer stress tests 2",
251 index = child.expect(["Start timer basic tests",
266 index = child.expect(["TESTTIMER: ([0-9]*): callback id=([0-9]*) "
281 id = int(child.match.groups()[1])
282 cnt = int(child.match.groups()[2])
283 lcore = int(child.match.groups()[3])
334 def ring_autotest(child, test_name): argument
335 child.sendline(test_name)
336 index = child.expect(["Test OK", "Test Failed",