Jakub Czapiga has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63636 )
Change subject: tests: update CMocka to stable-1.1 ......................................................................
tests: update CMocka to stable-1.1
CMocka stable-1.1 has some convinience bugfixes like vprint buffer increase or leftover values log fix (funtion napes display correctly now.
Signed-off-by: Jakub Czapiga jacz@semihalf.com Change-Id: I20ebd15324a21c17cccd2976ae9c3f86b040426d --- M .gitmodules M 3rdparty/cmocka M tests/lib/b64_decode-test.c 3 files changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/63636/1
diff --git a/.gitmodules b/.gitmodules index 68230b9..69aa470 100644 --- a/.gitmodules +++ b/.gitmodules @@ -48,6 +48,7 @@ path = 3rdparty/cmocka url = ../cmocka.git update = none + branch = stable-1.1 [submodule "3rdparty/qc_blobs"] path = 3rdparty/qc_blobs url = ../qc_blobs.git 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 631dc15..189ce96 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); }