tools/test-runner: Add /usr/bin paths for btmon and btvirt
PATCH 1/1 tools/test-runner: Add /usr/bin paths for btmon and btvirt
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.
--- tools/test-runner.c | 2 ++ 1 file changed, 2 insertions(+)
tools/test-runner.c +2 -0
@@ -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,
Signature · 1 line
Zijun Hu <[email protected]>
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