Open kylezh opened 5 years ago
It seems quite weird.
I backported 20fb601 to old versions, and there is no error. But after CMake was introduced, the error can be reproduced.
I tested at the commit 739c251 where CMake is firstly introduced and Makefile has not been removed. The binary compiled by Makefile can pass while the binary compiled by CMake cannot.
PS: I have removed -DNDEBUG for all Makefile test.
The test suite, including that test, runs on Travis CI and AppVeyor. I spot-checked the output of the latest builds, and the test passes.
I suspect you're running the tests in an unusual way. Is it possible that you're running them from the wrong directory?
When configuring build type as Debug, it fails as
When configuring build type as Release it fails as
The codebase is 20fb601, just the same as https://github.com/google/leveldb/pull/339