embeddedartistry / libc

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

Add two unittests for realloc() #188

Closed eriols closed 2 years ago

eriols commented 2 years ago

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

eriols commented 2 years ago

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

phillipjohnston commented 2 years 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 2 years ago

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

phillipjohnston commented 2 years ago

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

phillipjohnston commented 2 years ago

Thank you for another contribution!