mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
selftest: gdbserver: Adjust regex for change to output
The updated kmod build (using meson) causes the output which results from `info line kmod_help` to change. Relax the regex so that both old and new reponses will pass. (From OE-Core rev: 8783e7b8109b02847cf3b07421582c4fdb18949c) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8553d3e1ca
commit
0b212fef33
|
@ -54,7 +54,7 @@ CORE_IMAGE_EXTRA_INSTALL = "gdbserver"
|
|||
self.logger.warning("starting gdb %s" % cmd)
|
||||
r = runCmd(cmd, native_sysroot=native_sysroot, target_sys=target_sys)
|
||||
self.assertEqual(0, r.status)
|
||||
line_re = r"Line \d+ of \"/usr/src/debug/kmod/.*/tools/kmod.c\" starts at address 0x[0-9A-Fa-f]+ <kmod_help>"
|
||||
line_re = r"Line \d+ of \".*\" starts at address 0x[0-9A-Fa-f]+ <kmod_help>"
|
||||
self.assertRegex(r.output, line_re)
|
||||
break
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user