Commits


Gang Wu authored and GitHub committed bef5876f050
MINOR: [C++][Parquet] Fix test failure when codec is disabled (#34179) ### Rationale for this change When parquet-cpp was built without any codec enabled, some test cases fail like below: ``` cmake .. -DCMAKE_BUILD_TYPE=Debug \ -DARROW_PARQUET=ON \ -DARROW_BUILD_TESTS=ON \ -DARROW_WITH_ZLIB=OFF \ -DARROW_WITH_ZSTD=OFF \ -DARROW_WITH_SNAPPY=OFF ctest -j16 --output-on-failure [----------] Global test environment tear-down [==========] 110 tests from 31 test suites ran. (697 ms total) [ PASSED ] 104 tests. [ SKIPPED ] 1 test, listed below: [ SKIPPED ] TestDumpWithLocalFile.DumpOutput [ FAILED ] 5 tests, listed below: [ FAILED ] TestBooleanRLE.TestBooleanScanner [ FAILED ] TestBooleanRLE.TestBatchRead [ FAILED ] TestTextDeltaLengthByteArray.TestTextScanner [ FAILED ] TestTextDeltaLengthByteArray.TestBatchRead [ FAILED ] TestCheckDataPageCrc.SnappyPageV1 ``` ### What changes are included in this PR? Protect the failed test cases with macros to avoid failure. ### Are these changes tested? Make sure all unit tests pass. ### Are there any user-facing changes? No Authored-by: Gang Wu <ustcwg@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>