All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bluez 0/3] tools/test-runner: Add arm64 host support
@ 2026-11-22 10:34 Zijun Hu
  2026-11-22 10:34 ` [PATCH bluez 1/3] doc/test-runner: s/CONFIG_BT_HCIBTINTEL_PCIE/CONFIG_BT_INTEL_PCIE/ Zijun Hu
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Zijun Hu @ 2026-11-22 10:34 UTC (permalink / raw)
  To: Linux Bluetooth; +Cc: Marcel Holtmann, Luiz Augusto von Dentz, Zijun Hu

This series mainly:
- Adds support for running test-runner on arm64 hosts
- Allows starting bluetoothd without debug output

---
Zijun Hu (3):
      doc/test-runner: s/CONFIG_BT_HCIBTINTEL_PCIE/CONFIG_BT_INTEL_PCIE/
      tools/test-runner: Support running on arm64 hosts
      tools/test-runner: Allow suppressing noisy bluetoothd debug output

 doc/test-runner.rst |  26 ++++++++++--
 tools/test-runner.c | 114 +++++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 112 insertions(+), 28 deletions(-)
---
base-commit: 1adfe662efeff12997df9ddd0960dbd0de9c8ea7
change-id: 20261122-tr_arm64-c6751a5cf021

Best regards,
--  
Zijun Hu <zijun.hu@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH bluez v2 1/7] tools/test-runner: Fix TESTHOME parsing for short paths
@ 2026-11-26  2:45 Zijun Hu
  2026-11-26  5:40 ` tools/test-runner: Add arm64 host support bluez.test.bot
  0 siblings, 1 reply; 18+ messages in thread
From: Zijun Hu @ 2026-11-26  2:45 UTC (permalink / raw)
  To: Linux Bluetooth
  Cc: Marcel Holtmann, Luiz Augusto von Dentz, Pauli Virtanen,
	Bastien Nocera, Zijun Hu

TESTHOME is parsed wrongly if its value is shorter than 4 characters.
Taking command line "TESTHOME=/ TESTDBUS=0" as an example, TESTHOME is
parsed as the wrong "/ TESTDBUS=0" instead of the right "/", which
causes the following error:

  $ cd /
  $ tools/test-runner -k /pathto/bzImage -- /bin/bash

  tools/test-runner TESTHOME=/ TESTDBUS=0 TESTDAEMON=0 ...
  ......
  Running command /bin/bash
  New process 67 created
  Changing into directory / TESTDBUS=0
  Failed to change directory: No such file or directory

Fix by searching from @ptr + 9, the TESTHOME value start, instead of
@home + 9.

Fixes: e622e623de13 ("build: Add test-runner utility for virtual machine execution")
Assisted-by: Claude:claude-opus-5-5
---
Previous version:
https://lore.kernel.org/all/20261119-fix_test_runner-v1-1-ddad300e86ed@oss.qualcomm.com

Changes since previous version:
- Improve the commit message with command and error log
---
 tools/test-runner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/test-runner.c b/tools/test-runner.c
index 0bca31a46351..6b8d0522fa7a 100644
--- a/tools/test-runner.c
+++ b/tools/test-runner.c
@@ -2167,17 +2167,17 @@ static void run_tests(void)
 			audio_server = strndup(start, end - start);
 			printf("Audio server %s requested\n", audio_server);
 		}
 	}
 
 	ptr = strstr(cmdline, "TESTHOME=");
 	if (ptr) {
 		home = ptr + 4;
-		ptr = strpbrk(home + 9, " \r\n");
+		ptr = strpbrk(ptr + 9, " \r\n");
 		if (ptr)
 			*ptr = '\0';
 	}
 
 	run_command(cmds, home);
 }
 
 static void usage(void)

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2026-11-26  5:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-22 10:34 [PATCH bluez 0/3] tools/test-runner: Add arm64 host support Zijun Hu
2026-11-22 10:34 ` [PATCH bluez 1/3] doc/test-runner: s/CONFIG_BT_HCIBTINTEL_PCIE/CONFIG_BT_INTEL_PCIE/ Zijun Hu
2026-11-22 18:56   ` tools/test-runner: Add arm64 host support bluez.test.bot
2026-11-25  8:59   ` [PATCH bluez 1/3] doc/test-runner: s/CONFIG_BT_HCIBTINTEL_PCIE/CONFIG_BT_INTEL_PCIE/ Bastien Nocera
2026-11-25 10:43     ` Zijun Hu
2026-11-25 11:06       ` Bastien Nocera
2026-11-22 10:34 ` [PATCH bluez 2/3] tools/test-runner: Support running on arm64 hosts Zijun Hu
2026-11-22 16:24   ` Pauli Virtanen
2026-11-23  1:04     ` Zijun Hu
2026-11-23 14:45       ` Luiz Augusto von Dentz
2026-11-24  2:57         ` Zijun Hu
2026-11-24 15:20           ` Luiz Augusto von Dentz
2026-11-25  7:11             ` Zijun Hu
2026-11-25  9:04   ` Bastien Nocera
2026-11-25 10:46     ` Zijun Hu
2026-11-25 11:07       ` Bastien Nocera
2026-11-22 10:34 ` [PATCH bluez 3/3] tools/test-runner: Allow suppressing noisy bluetoothd debug output Zijun Hu
  -- strict thread matches above, loose matches on Subject: below --
2026-11-26  2:45 [PATCH bluez v2 1/7] tools/test-runner: Fix TESTHOME parsing for short paths Zijun Hu
2026-11-26  5:40 ` tools/test-runner: Add arm64 host support bluez.test.bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.