Lines Matching full:test
2 * Test serial output of some machines.
9 * This test is used to check that the serial output of the firmware
201 static bool check_guest_output(QTestState *qts, const testdef_t *test, int fd) in check_guest_output() argument
211 if (ch == test->expect[pos]) { in check_guest_output()
213 if (test->expect[pos] == '\0') { in check_guest_output()
239 const testdef_t *test = data; in test_machine() local
251 if (test->kernel) { in test_machine()
252 code = test->kernel; in test_machine()
254 } else if (test->bios) { in test_machine()
255 code = test->bios; in test_machine()
265 wlen = write(code_fd, code, test->codesize); in test_machine()
266 g_assert(wlen == test->codesize); in test_machine()
271 * Make sure that this test uses tcg if available: It is used as a in test_machine()
277 codeparam, code ? codetmp : "", test->machine, in test_machine()
278 serialtmp, test->extra); in test_machine()
285 if (!check_guest_output(qts, test, ser_fd)) { in test_machine()