Linux bluetooth development
 help / color / mirror / Atom feed
* [BlueZ] test-mesh-crypto: Fix retval for skipped test
@ 2026-06-05  9:35 Bastien Nocera
  2026-06-05 11:10 ` bluez.test.bot
  2026-06-05 16:30 ` patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Bastien Nocera @ 2026-06-05  9:35 UTC (permalink / raw)
  To: linux-bluetooth

Skipped tests should return 77, so they will be marked as skipped in
reports:
  $ make check
  make --no-print-directory check-TESTS
  [...]
  PASS: unit/test-gatt
  SKIP: unit/test-mesh-crypto
  [...]
  ============================================================================
  Testsuite summary for bluez 5.86
  ============================================================================
  # TOTAL: 39
  # PASS:  38
  # SKIP:  1
  [...]
  ============================================================================
---
 unit/test-mesh-crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unit/test-mesh-crypto.c b/unit/test-mesh-crypto.c
index 24fbbba33298..95d17e1d81c8 100644
--- a/unit/test-mesh-crypto.c
+++ b/unit/test-mesh-crypto.c
@@ -2133,7 +2133,7 @@ int main(int argc, char *argv[])
 	l_log_set_stderr();
 
 	if (!mesh_crypto_check_avail())
-		return 0;
+		return 77;
 
 	/* Section 8.1 Sample Data Tests */
 	check_s1(&s8_1_1);
-- 
2.54.0


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

* RE: [BlueZ] test-mesh-crypto: Fix retval for skipped test
  2026-06-05  9:35 [BlueZ] test-mesh-crypto: Fix retval for skipped test Bastien Nocera
@ 2026-06-05 11:10 ` bluez.test.bot
  2026-06-05 16:30 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2026-06-05 11:10 UTC (permalink / raw)
  To: linux-bluetooth, hadess

[-- Attachment #1: Type: text/plain, Size: 1943 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/project/bluetooth/list/?series=1106487

---Test result---

Test Summary:
CheckPatch                    FAIL      0.32 seconds
GitLint                       PASS      0.24 seconds
BuildEll                      PASS      20.60 seconds
BluezMake                     PASS      665.36 seconds
MakeCheck                     PASS      19.11 seconds
MakeDistcheck                 PASS      250.36 seconds
CheckValgrind                 PASS      300.16 seconds
CheckSmatch                   PASS      351.23 seconds
bluezmakeextell               PASS      182.59 seconds
IncrementalBuild              PASS      654.30 seconds
ScanBuild                     PASS      1052.78 seconds

Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[BlueZ] test-mesh-crypto: Fix retval for skipped test
WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#58: 
  ============================================================================

/github/workspace/src/patch/14613073.patch total: 0 errors, 1 warnings, 8 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14613073.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.




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

---
Regards,
Linux Bluetooth


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

* Re: [BlueZ] test-mesh-crypto: Fix retval for skipped test
  2026-06-05  9:35 [BlueZ] test-mesh-crypto: Fix retval for skipped test Bastien Nocera
  2026-06-05 11:10 ` bluez.test.bot
@ 2026-06-05 16:30 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2026-06-05 16:30 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Fri,  5 Jun 2026 11:35:53 +0200 you wrote:
> Skipped tests should return 77, so they will be marked as skipped in
> reports:
>   $ make check
>   make --no-print-directory check-TESTS
>   [...]
>   PASS: unit/test-gatt
>   SKIP: unit/test-mesh-crypto
>   [...]
>   ============================================================================
>   Testsuite summary for bluez 5.86
>   ============================================================================
>   # TOTAL: 39
>   # PASS:  38
>   # SKIP:  1
>   [...]
>   ============================================================================
> 
> [...]

Here is the summary with links:
  - [BlueZ] test-mesh-crypto: Fix retval for skipped test
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=80e9eb51c4c9

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2026-06-05 16:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-05  9:35 [BlueZ] test-mesh-crypto: Fix retval for skipped test Bastien Nocera
2026-06-05 11:10 ` bluez.test.bot
2026-06-05 16:30 ` patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox