biocpp / biocpp-io

BioC++ Input/Output library
https://biocpp.github.io
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

[BUG] Failing tests in main branch. #28

Open Irallia opened 2 years ago

Irallia commented 2 years ago

System: Mac OS GCC version 11.2.0_3 (g++ 11) cmake version 3.22.2

97% tests passed, 4 tests failed out of 159

Total Test time (real) =   1.81 sec

The following tests FAILED:
     98 - stream/gz_ostream_test::gz_ostream.regular (Failed)
     99 - stream/gz_ostream_test::gz_ostream.type_erased (Failed)
    116 - stream/transparent_ostream_test::transparent_ostream.regular_gz (Failed)
    117 - stream/transparent_ostream_test::transparent_ostream.type_erased_gz (Failed)

with

[ RUN      ] gz_ostream.regular
.../b.i.o./test/unit/stream/ostream_test_template.hpp:48: Failure
Expected equality of these values:
  buffer
    Which is: "\x1F\x8B\b\0\0\0\0\0\0\x13\v\xC9HU(,\xCDL\xCEVH*\xCA/\xCFSH\xCB\xAFP\xC8*\xCD-(V\xC8/K-R(\x1J\xE7$VU*\xA4\xE4\xA7\x3\09\xA3OA+\0\0\0"
  compressed<f>
    Which is: "\x1F\x8B\b\0\0\0\0\0\0\x3\v\xC9HU(,\xCDL\xCEVH*\xCA/\xCFSH\xCB\xAFP\xC8*\xCD-(V\xC8/K-R(\x1J\xE7$VU*\xA4\xE4\xA7\x3\09\xA3OA+\0\0\0"
[  FAILED  ] gz_ostream.regular (4 ms)
[ RUN      ] gz_ostream.type_erased
.../b.i.o./test/unit/stream/ostream_test_template.hpp:79: Failure
Expected equality of these values:
  buffer
    Which is: "\x1F\x8B\b\0\0\0\0\0\0\x13\v\xC9HU(,\xCDL\xCEVH*\xCA/\xCFSH\xCB\xAFP\xC8*\xCD-(V\xC8/K-R(\x1J\xE7$VU*\xA4\xE4\xA7\x3\09\xA3OA+\0\0\0"
  compressed<f>
    Which is: "\x1F\x8B\b\0\0\0\0\0\0\x3\v\xC9HU(,\xCDL\xCEVH*\xCA/\xCFSH\xCB\xAFP\xC8*\xCD-(V\xC8/K-R(\x1J\xE7$VU*\xA4\xE4\xA7\x3\09\xA3OA+\0\0\0"
[  FAILED  ] gz_ostream.type_erased (1 ms)

same for stream/transparent_ostream_test

h-2 commented 2 years ago

Thanks for the report. Yeah, GZ on Mac produces different files 😑

I will have a look at it!