embeddedartistry / libc

libc targeted for embedded systems usage. Reduced set of functionality (due to embedded nature). Chosen for portability and quick bringup.
MIT License
504 stars 67 forks source link

Add two unittests for realloc() #188

Closed eriols closed 1 year ago

eriols commented 1 year ago

Simple tests for realloc, verifying that old memory is not affected by the reallocation.

eriols commented 1 year ago

Did the clang-format myself this time, I hope :).

phillipjohnston commented 1 year ago

LGTM. Test failure on the CI server is in another test, for something I thought I fixed. I'll look into that and double check these tests with that fix in.

eriols commented 1 year ago

Did you manage to have a look into the CI failure? I'm quite sure "it worked on my machine".

phillipjohnston commented 1 year ago

Thanks for the ping - had surgery and then totally forgot.

phillipjohnston commented 1 year ago

Thank you for another contribution!