Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alex Kiernan <alex.kiernan@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Subject: [PATCH OE-Core v4 3/5] selftest: gdbserver: Adjust regex for change to output
Date: Sat, 15 Mar 2025 10:24:40 +0000	[thread overview]
Message-ID: <20250315-kmod-v4-3-946682cc4090@gmail.com> (raw)
In-Reply-To: <20250315-kmod-v4-0-946682cc4090@gmail.com>

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.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---
 meta/lib/oeqa/selftest/cases/gdbserver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/gdbserver.py b/meta/lib/oeqa/selftest/cases/gdbserver.py
index 9da97ae78037bfd13434e93cf235c62fbbcb66fe..b6b7c5c47337453a49d4aa90166e148eab9038b6 100644
--- a/meta/lib/oeqa/selftest/cases/gdbserver.py
+++ b/meta/lib/oeqa/selftest/cases/gdbserver.py
@@ -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:

-- 
2.25.1



  parent reply	other threads:[~2025-03-15 10:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-15 10:24 [PATCH OE-Core v4 0/5] Upgrade kmod 33 -> 34.1 Alex Kiernan
2025-03-15 10:24 ` [PATCH OE-Core v4 1/5] scdoc: Import from meta-wayland Alex Kiernan
2025-03-15 10:24 ` [PATCH OE-Core v4 2/5] scdoc: Upgrade 1.11.2 -> 1.11.3 Alex Kiernan
2025-03-15 10:24 ` Alex Kiernan [this message]
2025-03-15 10:24 ` [PATCH OE-Core v4 4/5] kmod: Upgrade 33 -> 34.1 Alex Kiernan
2025-03-15 10:24 ` [PATCH OE-Core v4 5/5] eudev: Drop --output=... from kmod call in init script Alex Kiernan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250315-kmod-v4-3-946682cc4090@gmail.com \
    --to=alex.kiernan@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox