mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +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:
committed by
Richard Purdie
parent
8553d3e1ca
commit
0b212fef33
@@ -54,7 +54,7 @@ CORE_IMAGE_EXTRA_INSTALL = "gdbserver"
|
|||||||
self.logger.warning("starting gdb %s" % cmd)
|
self.logger.warning("starting gdb %s" % cmd)
|
||||||
r = runCmd(cmd, native_sysroot=native_sysroot, target_sys=target_sys)
|
r = runCmd(cmd, native_sysroot=native_sysroot, target_sys=target_sys)
|
||||||
self.assertEqual(0, r.status)
|
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)
|
self.assertRegex(r.output, line_re)
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user