Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-06 | Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe | Ali Mohammad Pur | |
2021-09-02 | Tests: Remove all file(GLOB) from CMakeLists in Tests | Andrew Kaster | |
Using a file(GLOB) to find all the test files in a directory is an easy hack to get things started, but has some drawbacks. Namely, if you add a test, it won't be found again without re-running CMake. `ninja` seems to do this automatically, but it would be nice to one day stop seeing it rechecking our globbed directories. | |||
2021-05-27 | Tests: Use ByteBuffer::create_zeroed in TestDeflate instead of memset | Andrew Kaster | |
The round trip compress test wants the first half of the byte buffer to be filled with random data, and the second half to be all zeroes. The strategy of using memset on ByteBuffer::offset_pointer confuses __builtin_memset_chk when building with -fsanitize=undefined. It thinks that the buffer is using inline capacity when we can prove to ourselves pretty easily that it's not. To avoid this, just create the buffer zeroed to start, and then fill the first half with the random data. | |||
2021-05-06 | Tests: Move LibCompress tests to Tests/LibCompress | Brian Gianforcaro | |