diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0a923ace3..0d78ab997 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -50,7 +50,7 @@ list(APPEND test_c_bins grib_copy_message grib_packing_order grib_sh_imag - grib_sh_spectral_complex + grib_spectral grib_lam_bf grib_lam_gp) @@ -126,7 +126,7 @@ if( HAVE_BUILD_TOOLS ) bufr_rdbSubTypes grib_efas grib_sh_imag - grib_sh_spectral_complex + grib_spectral grib_levtype grib_typeOfLevel grib_grid_unstructured @@ -443,7 +443,6 @@ else() julian bufr_check_descriptors grib_sh_imag - grib_sh_spectral_complex grib_2nd_order_numValues grib_sh_ieee64) diff --git a/tests/grib_sh_spectral_complex.cc b/tests/grib_spectral.cc similarity index 100% rename from tests/grib_sh_spectral_complex.cc rename to tests/grib_spectral.cc diff --git a/tests/grib_sh_spectral_complex.sh b/tests/grib_spectral.sh similarity index 84% rename from tests/grib_sh_spectral_complex.sh rename to tests/grib_spectral.sh index 5985aa346..c4dbe1a3c 100755 --- a/tests/grib_sh_spectral_complex.sh +++ b/tests/grib_spectral.sh @@ -15,13 +15,13 @@ label="grib_spectral_test" output=output.$label.grib input_complex=$ECCODES_SAMPLES_PATH/sh_ml_grib2.tmpl -$EXEC ${test_dir}/grib_sh_spectral_complex $input_complex $output +$EXEC ${test_dir}/grib_spectral $input_complex $output rm -f $output # Now try spectral simple input_simple=$label.simple.grib ${tools_dir}/grib_set -rs packingType=spectral_simple $input_complex $input_simple -$EXEC ${test_dir}/grib_sh_spectral_complex $input_simple $output +$EXEC ${test_dir}/grib_spectral $input_simple $output rm -f $output $input_simple