libnbtplusplus
libnbtplusplus copied to clipboard
6 CxxTests fail
I ran CxxTest on the LibNBT++ library, but 6 of the 34 tests fail. The files appear to be read correctly as no file-related exceptions appear to be thrown, however the data returned does not meet the assertions in those tests.
These are the tests that failed:
- endian_str_test::test_uint
- read_test::test_read_bigtest
- read_test::test_read_littletest
- zlibstream_test::test_inflate_zlib
- zlibstream_test::test_inflate_open
- zlibstream_test::test_deflate_closed
I am using Windows 8, Visual Studio Community 2019, CxxTest 4.4, and zlib 1.2.11.
Here is the full log from running those tests.
It looks like there is a problem with reading/writing 64-bit integers in big endian, even though it apparently works with 32-bit and smaller. I think this might be a compiler bug.
Which hard/software do you compile the code for usually?
I am using GCC and Clang on Linux.
I must say that I'm not really maintaining this library anymore, but there are forks made by, for example, the MultiMC guys. Maybe they have fixed or worked around this issue.