blob: 8994405e800b2b292b87c7f0419047243b305b28 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# SPDX-License-Identifier: MIT
2
3from oeqa.runtime.case import OERuntimeTestCase
4
5
6class LinuxBootTest(OERuntimeTestCase):
7 """
8 This test case is only compatible with the OEFVPSerialTarget as it uses
9 the pexpect interface. It waits for a Linux login prompt on the default
10 console.
11 """
12
13 def setUp(self):
14 self.console = self.target.DEFAULT_CONSOLE
15
16 def test_linux_boot(self):
17 self.logger.info(f"{self.console}: Waiting for login prompt")
18 self.target.expect(self.console, r"login\:", timeout=10*60)