Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 46) sorted by relevance

12

/test/py/tests/
A Dtest_distro.py14 with ubman.log.section('boot'):
17 with ubman.log.section('Grub'):
22 ubman.log.info("Pressing 'e'")
31 ubman.log.info("Going DOWN")
37 ubman.log.info("Going to EOL")
41 ubman.log.info("Erasing quiet and splash")
45 ubman.log.info("Noisy console")
49 ubman.log.info("boot")
53 with ubman.log.section('Linux'):
57 with ubman.log.section('Ubuntu'):
A Dtest_suite.py48 ubman.log.info(f'line: {line}')
77 ubman.log.info(f'test_count {test_count}')
116 ubman.log.info(f'line: {line}')
146 with ubman.log.section('Run all unit tests'):
152 with ubman.log.section('Check output'):
155 ubman.log.info(f'missing {missing}')
156 ubman.log.info(f'extra {extra}')
162 with ubman.log.section('Check missing suites'):
182 ubman.log.info(str(exp_test_count))
196 with ubman.log.section('Check single test'):
[all …]
A Dtest_dfu.py154 ubman.log.action(
166 ubman.log.action('Waiting for DFU USB device to appear')
188 ubman.log.action(
191 ubman.log.action(
268 ubman.log.action('Writing test data to DFU primary ' +
272 ubman.log.action('Writing dummy data to DFU secondary ' +
276 ubman.log.action('Reading DFU primary altsetting for ' +
280 ubman.log.action('Comparing written and read data')
308 ubman.log.action(
313 with ubman.log.section('Data size %d' % size):
[all …]
A Dtest_ums.py99 ubman.log.warning(
133 ubman.log.action(
139 ubman.log.action('Reading raw data from UMS device')
153 ubman.log.action('Mounting exported UMS device')
170 ubman.log.action('Unmounting UMS device')
190 ubman.log.action(
202 ubman.log.action('Writing test file via UMS')
220 ubman.log.action('Reading test file back via UMS')
/test/py/
A Dconsole_board.py22 def __init__(self, log, config): argument
37 super(ConsoleExecAttach, self).__init__(log, config, max_fifo_fill=16)
39 with self.log.section('flash'):
40 self.log.action('Flashing U-Boot')
42 runner = self.log.get_runner(cmd[0], sys.stdout)
45 self.log.status_pass('OK')
63 self.log.action('Connecting to board without reset')
66 self.log.action('Resetting board')
68 runner = self.log.get_runner(cmd[0], sys.stdout)
80 self.log.action('Releasing board')
[all …]
A Dconftest.py32 log = None variable
127 with log.section(name):
132 log.status_pass('OK')
249 global log
481 return ubman_fix.log
615 log.info(buf.getvalue())
636 if log:
670 log.close()
825 log.get_and_reset_warning()
847 msg_log = log.status_pass
[all …]
A Dconsole_base.py120 def __init__(self, log, config, max_fifo_fill): argument
140 self.log = log
186 self.log.start_section('Stopping U-Boot')
189 self.log.end_section('Stopping U-Boot')
254 self.log.info(f'U-Boot is ready')
257 self.log.timestamp()
354 self.log.timestamp()
387 self.log.action(f'Sending Ctrl-{char}')
516 self.log.error(str(ex))
520 self.log.timestamp()
[all …]
A Dutils.py82 ubman.log.action('Persistent data file ' + self.abs_fn +
86 ubman.log.action('Generating ' + self.abs_fn +
180 runner = ubman.log.get_runner(cmd[0], sys.stdout)
198 runner = ubman.log.get_runner(cmd[0], sys.stdout)
235 with ubman.log.section('find_ram_base'):
262 def __init__(self, log, filename): argument
273 self.log = log
285 self.log.action('Removing stale generated file ' +
302 self.log.action(
A Dconsole_sandbox.py17 def __init__(self, log, config): argument
28 super(ConsoleSandbox, self).__init__(log, config, max_fifo_fill=1024)
95 self.log.action('kill %d' % sig)
/test/py/tests/test_efi_secboot/
A Dtest_authvar.py26 with ubman.log.section('Test Case 1a'):
37 with ubman.log.section('Test Case 1b'):
44 with ubman.log.section('Test Case 1c'):
59 with ubman.log.section('Test Case 1d'):
71 with ubman.log.section('Test Case 1e'):
88 with ubman.log.section('Test Case 1f'):
106 with ubman.log.section('Test Case 1g'):
130 with ubman.log.section('Test Case 2a'):
149 with ubman.log.section('Test Case 2b'):
156 with ubman.log.section('Test Case 2c'):
[all …]
A Dtest_signed.py27 with ubman.log.section('Test Case 1a'):
36 with ubman.log.section('Test Case 1b'):
51 with ubman.log.section('Test Case 2a'):
73 with ubman.log.section('Test Case 2b'):
95 with ubman.log.section('Test Case 3a'):
113 with ubman.log.section('Test Case 3b'):
131 with ubman.log.section('Test Case 4'):
159 with ubman.log.section('Test Case 5a'):
177 with ubman.log.section('Test Case 5b'):
188 with ubman.log.section('Test Case 5c'):
[all …]
A Dtest_signed_intca.py29 with ubman.log.section('Test Case 1a'):
48 with ubman.log.section('Test Case 1b'):
62 with ubman.log.section('Test Case 2a'):
79 with ubman.log.section('Test Case 2b'):
89 with ubman.log.section('Test Case 2c'):
104 with ubman.log.section('Test Case 3a'):
127 with ubman.log.section('Test Case 3b'):
A Dtest_unsigned.py27 with ubman.log.section('Test Case 1'):
54 with ubman.log.section('Test Case 2'):
78 with ubman.log.section('Test Case 3a'):
101 with ubman.log.section('Test Case 3b'):
/test/py/tests/test_android/
A Dtest_abootimg.py124 ubman.log.action('persistent is ' + persistent)
125 with utils.persistent_file_helper(ubman.log, persistent):
127 ubman.log.action('Disk image file ' + persistent +
130 ubman.log.action('Generating ' + persistent)
191 ubman.log.action('Loading disk image to RAM...')
196 ubman.log.action('Testing \'abootimg get ver\'...')
207 ubman.log.action('Testing \'abootimg dump dtb\'...')
216 ubman.log.action('Testing \'abootimg get dtb --index\'...')
235 ubman.log.action('Loading disk image to RAM...')
243 ubman.log.action('Testing \'abootimg get ver\'...')
[all …]
/test/py/tests/test_fs/
A Dtest_basic.py24 with ubman.log.section('Test Case 1a - ls'):
32 with ubman.log.section('Test Case 1b - ls (invalid dir)'):
38 with ubman.log.section('Test Case 1c - test -e'):
56 with ubman.log.section('Test Case 2a - size (small)'):
66 with ubman.log.section('Test Case 2b - size (/../<file>)'):
79 with ubman.log.section('Test Case 3 - size (large)'):
94 with ubman.log.section('Test Case 4 - load (small)'):
113 with ubman.log.section('Test Case 5 - load (first 1MB)'):
132 with ubman.log.section('Test Case 6 - load (last 1MB)'):
233 with ubman.log.section('Test Case 11 - write'):
[all …]
A Dtest_unlink.py23 with ubman.log.section('Test Case 1 - unlink (file)'):
41 with ubman.log.section('Test Case 2 - unlink (many)'):
60 with ubman.log.section('Test Case 3 - unlink (non-existing)'):
72 with ubman.log.section('Test Case 4 - unlink (directory)'):
89 with ubman.log.section('Test Case 5 - unlink ("non-empty directory")'):
101 with ubman.log.section('Test Case 6 - unlink (".")'):
113 with ubman.log.section('Test Case 7 - unlink ("..")'):
A Dtest_mkdir.py22 with ubman.log.section('Test Case 1 - mkdir'):
41 with ubman.log.section('Test Case 2 - mkdir (sub-sub directory)'):
60 with ubman.log.section('Test Case 3 - mkdir (non-existing path)'):
72 with ubman.log.section('Test Case 4 - mkdir (".")'):
84 with ubman.log.section('Test Case 5 - mkdir ("..")'):
97 with ubman.log.section('Test Case 6 - mkdir (create many)'):
A Dtest_ext.py37 with ubman.log.section('Test Case 1 - write with abs path'):
60 with ubman.log.section('Test Case 2 - write with rel path'):
83 with ubman.log.section('Test Case 3 - write with invalid path'):
98 with ubman.log.section('Test Case 4 - write at non-zero offset, enlarging file size'):
131 with ubman.log.section('Test Case 5 - write at non-zero offset, shrinking file size'):
164 with ubman.log.section('Test Case 6 - write nothing at the start, truncating to zero'):
189 with ubman.log.section('Test Case 7 - write at the end (append)'):
222 with ubman.log.section('Test Case 8 - write beyond the end'):
256 with ubman.log.section('Test Case 10 - create/delete (many)'):
298 with ubman.log.section('Test Case 11 - create/delete (many)'):
[all …]
A Dtest_rename.py20 with ubman.log.section('Test Case 1 - rename a file'):
52 with ubman.log.section('Test Case 2 - rename a file to an existing file'):
84 with ubman.log.section('Test Case 3 - rename a directory'):
117 with ubman.log.section('Test Case 4 - rename a directory to an existing directory'):
149 with ubman.log.section('Test Case 5 - rename a directory to an existing file'):
182 with ubman.log.section('Test Case 6 - rename a file to an existing empty directory'):
215 with ubman.log.section('Test Case 7 - rename a directory to a non-empty directory'):
248 with ubman.log.section('Test Case 8 - rename a directory inside itself'):
287 with ubman.log.section('Test Case 9 - rename a directory inside itself with backtracks'):
315 with ubman.log.section('Test Case 10 - rename a file to itself'):
[all …]
A Dtest_symlink.py26 with ubman.log.section('Test Case 1 - create link and read'):
51 with ubman.log.section('Test Case 2 - create chained links'):
80 with ubman.log.section('Test Case 1 - create link and read'):
116 with ubman.log.section('Test Case 1 - create link and read'):
/test/py/tests/test_efi_capsule/
A Dtest_capsule_firmware_signed_fit.py49 with ubman.log.section('Test Case 1-a, before reboot'):
58 with ubman.log.section('Test Case 1-b, after reboot'):
78 with ubman.log.section('Test Case 2-a, before reboot'):
87 with ubman.log.section('Test Case 2-b, after reboot'):
109 with ubman.log.section('Test Case 3-a, before reboot'):
118 with ubman.log.section('Test Case 3-b, after reboot'):
139 with ubman.log.section('Test Case 4-a, before reboot'):
148 with ubman.log.section('Test Case 4-b, after reboot'):
178 with ubman.log.section('Test Case 5-a, before reboot'):
187 with ubman.log.section('Test Case 5-b, after reboot'):
A Dtest_capsule_firmware_signed_raw.py46 with ubman.log.section('Test Case 1-a, before reboot'):
55 with ubman.log.section('Test Case 1-b, after reboot'):
74 with ubman.log.section('Test Case 2-a, before reboot'):
83 with ubman.log.section('Test Case 2-b, after reboot'):
103 with ubman.log.section('Test Case 3-a, before reboot'):
112 with ubman.log.section('Test Case 3-b, after reboot'):
133 with ubman.log.section('Test Case 4-a, before reboot'):
142 with ubman.log.section('Test Case 4-b, after reboot'):
177 with ubman.log.section('Test Case 5-a, before reboot'):
186 with ubman.log.section('Test Case 5-b, after reboot'):
A Dtest_capsule_firmware_fit.py51 with ubman.log.section('Test Case 1-a, before reboot'):
63 with ubman.log.section('Test Case 1-b, after reboot'):
83 with ubman.log.section('Test Case 2-a, before reboot'):
97 with ubman.log.section('Test Case 2-b, after reboot'):
118 with ubman.log.section('Test Case 3-a, before reboot'):
131 with ubman.log.section('Test Case 3-b, after reboot'):
167 with ubman.log.section('Test Case 4-a, before reboot'):
177 with ubman.log.section('Test Case 4-b, after reboot'):
A Dtest_capsule_firmware_raw.py53 with ubman.log.section('Test Case 1-a, before reboot'):
65 with ubman.log.section('Test Case 1-b, after reboot'):
85 with ubman.log.section('Test Case 2-a, before reboot'):
103 with ubman.log.section('Test Case 2-b, after reboot'):
124 with ubman.log.section('Test Case 3-a, before reboot'):
138 with ubman.log.section('Test Case 3-b, after reboot'):
170 with ubman.log.section('Test Case 4-a, before reboot'):
183 with ubman.log.section('Test Case 4-b, after reboot'):
224 with ubman.log.section('Test Case 5-a, before reboot'):
234 with ubman.log.section('Test Case 5-b, after reboot'):
/test/log/
A Dcont_test.c27 log(LOGC_ARCH, LOGL_ERR, "ea%d\n", 1); in log_test_cont()
28 log(LOGC_CONT, LOGL_CONT, "cc%d\n", 2); in log_test_cont()
40 log(LOGC_EFI, LOGL_INFO, "ie%d\n", 3); in log_test_cont()
51 log(LOGC_ARCH, LOGL_ERR, "ea%d ", 1); in log_test_cont()
52 log(LOGC_CONT, LOGL_CONT, "cc%d\n", 2); in log_test_cont()

Completed in 41 milliseconds

12