[PATCH] cmocka: update from 1.1.5+ to 1.1.7


Randy MacLeod
 

Switch the SRC_URI branch from master to stable-1.1

The 1.1.5 version was actually a bit ahead of that tag but
the ChangeLog comment for the two releases are:

Thu Feb 23 2023 Andreas Schneider <asn@...>
* cmocka version 1.1.7
* Update ignore list for source tarball generation

Fri Feb 16 2023 Andreas Schneider <asn@...>
* cmocka version 1.1.6
* Added new assert macros to compare 2 double given an epsilon
* Added meson build system
* Added header with version to TAP13 output
* Fixed issues with MSVC
* Fixed TAP output for skipped tests
* Fixed issue with fail_msg
* CMake generated configs for find_package(cmocka)
* Documentation improvements

CMake still seems to be the default build tool based on Install.md
so use that rather than the shiny Meson system.

One test, test_cmockery, was added so now there are 23 passing ptests.

Signed-off-by: Randy MacLeod <Randy.MacLeod@...>
---
.../recipes-test/cmocka/{cmocka_1.1.5.bb => cmocka_1.1.7.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-test/cmocka/{cmocka_1.1.5.bb => cmocka_1.1.7.bb} (95%)

diff --git a/meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb b/meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb
similarity index 95%
rename from meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb
rename to meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb
index 554d582a5..308d5ca1f 100644
--- a/meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb
+++ b/meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb
@@ -6,9 +6,9 @@ HOMEPAGE = "https://cmocka.org/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"

-SRCREV = "a4fc3dd7705c277e3a57432895e9852ea105dac9"
+SRCREV = "a01cc69ee9536f90e57c61a198f2d1944d3d4313"
PV .= "+git${SRCPV}"
-SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=master \
+SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=stable-1.1 \
file://run-ptest \
"

--
2.39.0


Khem Raj
 

fails to build on musl/aarch64 see
https://errors.yoctoproject.org/Errors/Details/698594/


On Tue, Mar 21, 2023 at 8:42 AM Randy MacLeod
<randy.macleod@...> wrote:

Switch the SRC_URI branch from master to stable-1.1

The 1.1.5 version was actually a bit ahead of that tag but
the ChangeLog comment for the two releases are:

Thu Feb 23 2023 Andreas Schneider <asn@...>
* cmocka version 1.1.7
* Update ignore list for source tarball generation

Fri Feb 16 2023 Andreas Schneider <asn@...>
* cmocka version 1.1.6
* Added new assert macros to compare 2 double given an epsilon
* Added meson build system
* Added header with version to TAP13 output
* Fixed issues with MSVC
* Fixed TAP output for skipped tests
* Fixed issue with fail_msg
* CMake generated configs for find_package(cmocka)
* Documentation improvements

CMake still seems to be the default build tool based on Install.md
so use that rather than the shiny Meson system.

One test, test_cmockery, was added so now there are 23 passing ptests.

Signed-off-by: Randy MacLeod <Randy.MacLeod@...>
---
.../recipes-test/cmocka/{cmocka_1.1.5.bb => cmocka_1.1.7.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-test/cmocka/{cmocka_1.1.5.bb => cmocka_1.1.7.bb} (95%)

diff --git a/meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb b/meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb
similarity index 95%
rename from meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb
rename to meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb
index 554d582a5..308d5ca1f 100644
--- a/meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb
+++ b/meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb
@@ -6,9 +6,9 @@ HOMEPAGE = "https://cmocka.org/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"

-SRCREV = "a4fc3dd7705c277e3a57432895e9852ea105dac9"
+SRCREV = "a01cc69ee9536f90e57c61a198f2d1944d3d4313"
PV .= "+git${SRCPV}"
-SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=master \
+SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=stable-1.1 \
file://run-ptest \
"

--
2.39.0