Unidata / netcdf-cxx4

Official GitHub repository for netCDF-C++ libraries and utilities.
Other
126 stars 49 forks source link

Testing: cxx4_test_filter (10/18) - Failed #134

Open niko-zvt opened 1 year ago

niko-zvt commented 1 year ago

While running the ctest command, one of the tests (10/18) throws an error.

Log:

10/18 Testing: cxx4_test_filter
10/18 Test: cxx4_test_filter
Command: "/Users/user/dev/Libs/netcdf-cxx4-4.3.1/build/cxx4/cxx4_test_filter"
Directory: /Users/user/dev/Libs/netcdf-cxx4-4.3.1/build/cxx4
"cxx4_test_filter" start time: Jun 27 20:05 MSK
Output:
----------------------------------------------------------
Setting Filter....Caught unexpected exception.
<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Failed.
"cxx4_test_filter" end time: Jun 27 20:05 MSK
"cxx4_test_filter" time elapsed: 00:00:00
----------------------------------------------------------

ctest --rerun-failed --output-on-failure output:

Test project /Users/user/dev/Libs/netcdf-cxx4-4.3.1/build
    Start 10: cxx4_test_filter
1/1 Test #10: cxx4_test_filter .................***Failed    0.01 sec
Setting Filter....Caught unexpected exception.

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.02 sec

The following tests FAILED:
     10 - cxx4_test_filter (Failed)
Errors while running CTest
SylviaZiyuZhang commented 1 year ago

I encountered the same issue with

ZedThree commented 11 months ago

I think this is because the test hardcodes the use of the BZIP2 filter, which might not be available. If it just used the deflate filter, that should always be available