Linux bluetooth development
 help / color / mirror / Atom feed
* [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

* RE: [bluez] tools/test-runner: Add /usr/bin paths for btmon and btvirt
  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.test.bot
  0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2026-11-22 18:34 UTC (permalink / raw)
  To: linux-bluetooth, zijun.hu

[-- Attachment #1: Type: text/plain, Size: 1055 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1218588/

---Test result---

Test Summary:
CheckPatch                    PASS      0.26 seconds
GitLint                       FAIL      0.19 seconds
BuildEll                      PASS      16.53 seconds
BluezMake                     PASS      229.43 seconds
CheckSmatch                   PASS      235.60 seconds
bluezmakeextell               PASS      75.10 seconds
TestFunctional                PASS      1015.30 seconds
IncrementalBuild              PASS      230.99 seconds
ScanBuild                     PASS      839.71 seconds

Details
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[bluez] tools/test-runner: Add /usr/bin paths for btmon and btvirt

20: B2 Line has trailing whitespace: "--  "


https://github.com/bluez/bluez/pull/2872

---
Regards,
Linux Bluetooth


^ permalink raw reply	[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