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

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