* [PATCH bluez] tools/test-runner: Add /usr/bin paths for btmon and btvirt
@ 2026-11-22 11:36 Zijun Hu
2026-11-22 18:34 ` [bluez] " bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Zijun Hu @ 2026-11-22 11:36 UTC (permalink / raw)
To: Linux Bluetooth; +Cc: Marcel Holtmann, Luiz Augusto von Dentz, Zijun Hu
btmon is installed to /usr/bin, but test-runner only looks in
/usr/sbin outside the build tree, so -m fails with "Failed to locate
Monitor binary".
Add /usr/bin for btmon, and for btvirt as well.
Assisted-by: Claude:claude-opus-5-5
---
tools/test-runner.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/test-runner.c b/tools/test-runner.c
index 0bca31a46351..8a8406642209 100644
--- a/tools/test-runner.c
+++ b/tools/test-runner.c
@@ -1628,16 +1628,17 @@ static const char *test_table[] = {
"tools/bnep-tester",
"tools/check-selftest",
NULL
};
static const char *monitor_table[] = {
"btmon",
"monitor/btmon",
+ "/usr/bin/btmon",
"/usr/sbin/btmon",
NULL
};
static pid_t start_btmon(const char *home)
{
const char *monitor = NULL;
char *argv[3];
@@ -1685,16 +1686,17 @@ static pid_t start_btmon(const char *home)
printf("Monitor process %d created\n", pid);
return pid;
}
static const char *btvirt_table[] = {
"btvirt",
"emulator/btvirt",
+ "/usr/bin/btvirt",
"/usr/sbin/btvirt",
NULL
};
static const char *find_btvirt(void)
{
int i;
---
base-commit: 1adfe662efeff12997df9ddd0960dbd0de9c8ea7
change-id: 20261122-tr_paths-eb1475ad71e3
Best regards,
--
Zijun Hu <zijun.hu@oss.qualcomm.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-22 18:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-22 11:36 [PATCH bluez] tools/test-runner: Add /usr/bin paths for btmon and btvirt Zijun Hu
2026-11-22 18:34 ` [bluez] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox