diff mbox series

[meta-oe,02/13] cmocka: Upgrade 2.0.2 -> 2.0.3

Message ID 20261203075202.3404502-3-khem.raj@oss.qualcomm.com
State New
Headers show
Series Recipe upgrades for meta-oe | expand

Commit Message

Khem Raj Dec. 3, 2026, 7:51 a.m. UTC
Changed:
- The count argument of functions that accept EXPECT_* values is now
  signed.
- CMAKE_COMPILER_IS_GNUCC replaced with CMAKE_C_COMPILER_ID;
  -Wsign-conversion added to the PICKY_DEVELOPER build mode.

Fixed:
- assert_string_equal()/assert_string_not_equal() no longer crash when
  passed NULL; they report a test failure instead.
- Access attribute with GCC 10.
- -Werror build failures: clang 17+ warning about the GNU
  ##__VA_ARGS__ extension, clang _Generic C11 extension warning from
  glibc's strstr()/strchr() macros in C99 builds, and GCC -Wclobbered
  in cmocka_run_one_test_or_fixture().
- -Wsign-conversion warnings in the library, including __LINE__
  handling on 32-bit x86.

The recipe set UPSTREAM_CHECK_TAGREGEX, which bitbake does not use;
rename it to UPSTREAM_CHECK_GITTAGREGEX.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../recipes-test/cmocka/{cmocka_2.0.2.bb => cmocka_2.0.3.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-test/cmocka/{cmocka_2.0.2.bb => cmocka_2.0.3.bb} (93%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb b/meta-oe/recipes-test/cmocka/cmocka_2.0.3.bb
similarity index 93%
rename from meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb
rename to meta-oe/recipes-test/cmocka/cmocka_2.0.3.bb
index 26f872a701..cbd8156c98 100644
--- a/meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb
+++ b/meta-oe/recipes-test/cmocka/cmocka_2.0.3.bb
@@ -6,12 +6,12 @@  HOMEPAGE = "https://cmocka.org/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRCREV = "fefa2b8a023121f7235e18ed17249e4012dd144f"
+SRCREV = "5bfa0fe0fcd62fffc6c14b177ef624f1c95561b4"
 SRC_URI = "git://gitlab.com/cmocka/cmocka.git;protocol=https;branch=stable-2.0;tag=cmocka-${PV} \
            file://run-ptest \
           "
 
-UPSTREAM_CHECK_TAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_GITTAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake ptest