Searched refs:expect (Results 1 - 25 of 26) sorted by relevance

12

/u-boot/test/py/tests/
H A Dtest_event_dump.py17 expect = '''.*Event type Id Source location
24 assert re.match(expect, out, re.MULTILINE) is not None
H A Dtest_efi_selftest.py19 if u_boot_console.p.expect(['Summary: 0 failures', 'Press any key']):
42 if u_boot_console.p.expect(['serial-number:', 'U-Boot']):
59 if u_boot_console.p.expect(['resetting', 'U-Boot']):
73 if u_boot_console.p.expect([r'To terminate type \'x\'']):
79 if u_boot_console.p.expect([r'Unicode char 4 \(unknown\), scan code 0 \(Null\)']):
85 if u_boot_console.p.expect([r'Unicode char 8 \(BS\), scan code 0 \(Null\)']):
91 if u_boot_console.p.expect([r'Unicode char 9 \(TAB\), scan code 0 \(Null\)']):
97 if u_boot_console.p.expect([r'Unicode char 97 \(\'a\'\), scan code 0 \(Null\)']):
103 if u_boot_console.p.expect([r'Unicode char 0 \(Null\), scan code 1 \(Up\)']):
109 if u_boot_console.p.expect([
[all...]
H A Dtest_bootmenu.py21 u_boot_console.p.expect([i])
26 u_boot_console.p.expect(['autoboot'])
32 u_boot_console.p.expect(['autoboot'])
38 u_boot_console.p.expect(['autoboot'])
H A Dtest_sandbox_exit.py30 m = u_boot_console.p.expect(['resetting ...', 'U-Boot'])
33 m = u_boot_console.p.expect(['U-Boot', '=>'])
H A Dtest_saveenv.py64 output = u_boot_console.p.expect(['not defined'])
H A Dtest_env.py557 None if we expect it not to be defined
565 expect = '#define CONFIG_EXTRA_ENV_TEXT "%s"\n' % expect_val
566 assert result == expect
H A Dtest_zynqmp_rpu.py202 assert u_boot_console.p.expect([outputs[i]])
/u-boot/test/py/tests/test_eficonfig/
H A Dtest_eficonfig.py21 u_boot_console.p.expect([i])
39 u_boot_console.p.expect([i])
51 u_boot_console.p.expect([i])
81 u_boot_console.p.expect([i])
86 u_boot_console.p.expect([i])
104 u_boot_console.p.expect([i])
146 u_boot_console.p.expect([i])
195 u_boot_console.p.expect([i])
207 u_boot_console.p.expect([i])
229 u_boot_console.p.expect([
[all...]
/u-boot/tools/buildman/
H A Dtest.py184 expect = '%10s: ' % arch
186 expect += ' ' + col.build(expected_colour, plus)
187 expect += ' '
189 expect += col.build(expected_colour, ' %s' % brd)
190 self.assertEqual(text, expect)
258 expect = self._col.build(colour, prefix + '(')
259 expect += self._col.build(self._col.MAGENTA, brds,
261 expect += self._col.build(colour, ') %s' % line)
263 expect = self._col.build(colour, prefix + line)
264 new_lines.append(expect)
[all...]
/u-boot/test/py/
H A Du_boot_console_base.py18 # Regexes for text we expect U-Boot to send to the console.
163 m = self.p.expect([pattern_u_boot_spl_signon] +
169 m = self.p.expect([pattern_u_boot_spl2_signon] +
174 m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
180 m = self.p.expect([self.prompt_compiled,
256 m = self.p.expect([chunk] + self.bad_patterns)
266 m = self.p.expect([self.prompt_compiled] + self.bad_patterns)
333 m = self.p.expect([text] + self.bad_patterns)
369 self.p.expect(['This should never match U-Boot output'])
371 # We expect
[all...]
H A Du_boot_spawn.py24 output: accumulated output from expect()
138 def expect(self, patterns): member in class:Spawn
145 patterns: A list of strings or regex objects that we expect to
236 """Return the output read by expect()
239 The output processed by expect(), as a string.
/u-boot/test/dm/
H A Drtc.c40 static int cmp_times(struct rtc_time *expect, struct rtc_time *time, bool show) argument
44 same = expect->tm_sec == time->tm_sec;
45 same &= expect->tm_min == time->tm_min;
46 same &= expect->tm_hour == time->tm_hour;
47 same &= expect->tm_mday == time->tm_mday;
48 same &= expect->tm_mon == time->tm_mon;
49 same &= expect->tm_year == time->tm_year;
51 show_time("expected", expect);
/u-boot/include/linux/
H A Dcompiler.h18 int expect, int is_constant);
23 #define __branch_check__(x, expect, is_constant) ({ \
33 ______r = __builtin_expect(!!(x), expect); \
35 expect, is_constant); \
/u-boot/lib/
H A Dfdtdec_test.c104 static int run_test(const char *aliases, const char *nodes, const char *expect) argument
117 printf("aliases=%s, nodes=%s, expect=%s: ", aliases, nodes, expect);
121 list, ARRAY_SIZE(list)), (int)strlen(expect));
124 for (i = 0, s = expect; *s; s++, i++) {
314 * ab : we expect the function to return two nodes, in
/u-boot/net/
H A Dtcp.c367 enum pkt_state expect = PKT; local
408 switch (expect) {
422 expect = PKT;
436 expect = NOPKT;
/u-boot/tools/binman/
H A Delf_test.py247 expect = struct.pack('<IIIII', 2, 3, 0x1234, 0x5678, 0)
248 self.assertEqual(expect, embed_data)
H A Dcbfs_util_test.py201 expect = tools.read_file(cbfstool_fname)
202 if expect != data:
203 tools.write_file('/tmp/expect', expect)
205 print('diff -y <(xxd -g1 /tmp/expect) <(xxd -g1 /tmp/actual) | colordiff')
H A Dftest.py1239 nodtb_data: Data that we expect in the first section
1288 We expect to see the following in the image, in order:
1302 We expect to see the following in the image, in order:
1450 We expect to see the following in the image, in order:
2035 # We expect three device-tree files in the output, one after the other.
2163 expect = (tools.get_bytes(ord('a'), 8) + U_BOOT_DATA +
2167 self.assertEqual(expect, data)
2227 We expect to see the following in the image, in order:
2472 # We expect to find the TPL wil in subpart IBBP entry IBBL
3046 expect_data: Data to expect i
[all...]
/u-boot/tools/dtoc/
H A Dtest_fdt435 expect = {'bootph-all', 'compatible', 'stringarray', 'longbytearray',
439 expect.update({'#address-cells', '#size-cells'})
442 expect.add('new-prop')
444 self.assertEqual(expect, set(dst.props.keys()))
H A Dtest_fdt.py435 expect = {'bootph-all', 'compatible', 'stringarray', 'longbytearray',
439 expect.update({'#address-cells', '#size-cells'})
442 expect.add('new-prop')
444 self.assertEqual(expect, set(dst.props.keys()))
/u-boot/drivers/misc/
H A Dcros_ec_sandbox.c443 uint32_t expect = EC_FLASH_PROTECT_ALL_NOW | local
447 if (req->flags == expect || req->flags == 0) {
/u-boot/scripts/kconfig/
H A Dzconf.y34 %expect 30
/u-boot/lib/zstd/decompress/
H A Dzstd_decompress.c973 "happening right at the place where we expect zstd magic bytes. "
1810 ZSTD_outBuffer const expect = zds->expectedOutBuffer; local
1820 if (expect.dst == output->dst && expect.pos == output->pos && expect.size == output->size)
/u-boot/scripts/
H A Dget_maintainer.pl1101 other automated tools that expect only ["name"] <email address>
/u-boot/
H A DMakefile13 # expect to learn how to build the kernel reading this file.
1100 expect = $(foreach cfg,$(1),y) macro
1111 @if [ -n "$(strip $(4))" ]; then if [ "$(got)" != "$(expect)" ]; then \
1816 # Directory where we expect the .env file, if it exists

Completed in 174 milliseconds

12