Jakub Czapiga has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52629 )
Change subject: 3rdparty/cmocka: Update to stable-1.1 ......................................................................
3rdparty/cmocka: Update to stable-1.1
cmocka removed cast in assert_string_equal(), so to make tests work correctly tests/lib/b64_decode-test.c had to be updated as well.
Signed-off-by: Jakub Czapiga jacz@semihalf.com Change-Id: I64b416878a252c2f254f14209348f7c9afbd56af --- M 3rdparty/cmocka M tests/lib/b64_decode-test.c 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/52629/1
diff --git a/3rdparty/cmocka b/3rdparty/cmocka index 672c5ce..8931845 160000 --- a/3rdparty/cmocka +++ b/3rdparty/cmocka @@ -1 +1 @@ -Subproject commit 672c5cee79eb412025c3dd8b034e611c1f119055 +Subproject commit 8931845c35e78b5123d73430b071affd537d5935 diff --git a/tests/lib/b64_decode-test.c b/tests/lib/b64_decode-test.c index e6bbca5..410e9ca 100644 --- a/tests/lib/b64_decode-test.c +++ b/tests/lib/b64_decode-test.c @@ -35,7 +35,7 @@ res = b64_decode((uint8_t *)messages[i].enc, strlen(messages[i].enc), decoded);
assert_int_equal(res, (strlen(messages[i].dec))); - assert_string_equal(decoded, messages[i].dec); + assert_string_equal((const char *)decoded, messages[i].dec);
free(decoded); }