Rename test

This commit is contained in:
Shahram Najm 2016-03-30 10:37:34 +01:00
parent cbe07a5456
commit c52a42ac77
5 changed files with 8 additions and 7 deletions

2
.gitignore vendored
View File

@ -163,7 +163,7 @@ examples/F90/eccodes_f_read_message
examples/F90/eccodes_f_samples
examples/F90/eccodes_f_grib_set_keys
examples/F90/eccodes_f_grib_set_bitmap
examples/F90/eccodes_f_set_gvc
examples/F90/eccodes_f_grib_set_gvc
examples/F90/eccodes_f_set_missing
examples/F90/eccodes_f_grib_set_pv
examples/F90/*.sh.log

View File

@ -75,9 +75,9 @@ ecbuild_add_executable( TARGET f_copy_namespace
LINKER_LANGUAGE Fortran
LIBS eccodes_f90 eccodes
)
ecbuild_add_executable( TARGET eccodes_f_set_gvc
ecbuild_add_executable( TARGET eccodes_f_grib_set_gvc
NOINSTALL
SOURCES set_gvc.f90
SOURCES grib_set_gvc.f90
CONDITION HAVE_FORTRAN
LINKER_LANGUAGE Fortran
LIBS eccodes_f90 eccodes

View File

@ -32,7 +32,7 @@ noinst_PROGRAMS = eccodes_f_grib_index \
eccodes_f_new_from_file \
eccodes_f_copy_namespace \
eccodes_f_get_set_uuid \
eccodes_f_set_gvc \
eccodes_f_grib_set_gvc \
eccodes_f_grib_clone \
eccodes_f_bufr_clone \
eccodes_f_bufr_expanded \
@ -71,7 +71,7 @@ eccodes_f_read_from_file_SOURCES=read_from_file.f90
eccodes_f_new_from_file_SOURCES=new_from_file.f90
eccodes_f_copy_namespace_SOURCES=copy_namespace.f90
eccodes_f_get_set_uuid_SOURCES=get_set_uuid.f90
eccodes_f_set_gvc_SOURCES=set_gvc.f90
eccodes_f_grib_set_gvc_SOURCES=grib_set_gvc.f90
eccodes_f_grib_clone_SOURCES=grib_clone.f90
eccodes_f_bufr_attributes_SOURCES=bufr_attributes.f90
eccodes_f_bufr_clone_SOURCES=bufr_clone.f90

View File

@ -11,7 +11,8 @@
${examples_dir}eccodes_f_grib_set_keys > /dev/null
${examples_dir}eccodes_f_set_gvc > /dev/null
[ -f out_gvc.grib2 ]
${examples_dir}eccodes_f_grib_set_gvc > /dev/null
res=`${tools_dir}/grib_get -p typeOfLevel,NV out_gvc.grib2`
[ "$res" = "generalVertical 6" ]
rm -f out.set.grib1 out_gvc.grib2