Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
The new test causes the failure on a big-endian platform.
1: [----------] 5 tests from Bitmap 1: [ RUN ] Bitmap.ShiftingWordsOptimization 1: [ OK ] Bitmap.ShiftingWordsOptimization (7 ms) 1: [ RUN ] Bitmap.VisitWords 1: [ OK ] Bitmap.VisitWords (3 ms) 1: [ RUN ] Bitmap.VisitPartialWords 1: [ OK ] Bitmap.VisitPartialWords (0 ms) 1: [ RUN ] Bitmap.ToString 1: /home/ishizaki/Arrow/arrow-rle/cpp/src/arrow/util/bit_util_test.cc:1265: Failure 1: Expected equality of these values: 1: Bitmap(bitmap, 0, 34).ToString() 1: Which is: "00000000 00000000 00000000 00000000 00" 1: "00110101 01010011 00000000 00000000 00" 1: /home/ishizaki/Arrow/arrow-rle/cpp/src/arrow/util/bit_util_test.cc:1267: Failure 1: Expected equality of these values: 1: Bitmap(bitmap, 0, 16).ToString() 1: Which is: "00000000 00000000" 1: "00110101 01010011" 1: /home/ishizaki/Arrow/arrow-rle/cpp/src/arrow/util/bit_util_test.cc:1268: Failure 1: Expected equality of these values: 1: Bitmap(bitmap, 0, 11).ToString() 1: Which is: "00000000 000" 1: "00110101 010" 1: /home/ishizaki/Arrow/arrow-rle/cpp/src/arrow/util/bit_util_test.cc:1269: Failure 1: Expected equality of these values: 1: Bitmap(bitmap, 3, 8).ToString() 1: Which is: "00000000" 1: "10101010" 1: [ FAILED ] Bitmap.ToString (1 ms) 1: [ RUN ] Bitmap.VisitWordsAnd 1: [ OK ] Bitmap.VisitWordsAnd (708 ms) 1: [----------] 5 tests from Bitmap (719 ms total)
Attachments
Issue Links
- links to