Unidata / netcdf-cxx4

Official GitHub repository for netCDF-C++ libraries and utilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing: cxx4_test_filter (10/18) - Failed

niko-zvt opened this issue · comments

  • netcdf-cxx4 (v4.3.1)
  • Apple M2 Pro, macosx13.3.

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

I encountered the same issue with

  • Ubuntu 22.04.3 LTS
  • netcdf-cxx4 (v4.3.1)

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