ECC-320: Change names of tests to reflect encode or decode

This commit is contained in:
Shahram Najm 2016-09-12 18:16:39 +01:00
parent 9e79087a06
commit 863e1430a3
5 changed files with 10 additions and 10 deletions

View File

@ -45,7 +45,7 @@ list( APPEND tests1
list( APPEND tests2
grib_double_cmp
bufr_dump
bufr_dump_filter
bufr_dump_encode_filter
bufrdc_desc_ref
bufrdc_ref
bufr_compare
@ -110,10 +110,10 @@ list( APPEND tests2
neg_fctime
)
if( HAVE_FORTRAN AND ENABLE_EXTRA_TESTS )
list(APPEND tests2 bufr_dump_fortran)
list(APPEND tests2 bufr_dump_encode_fortran)
endif()
if( ENABLE_EXTRA_TESTS )
list(APPEND tests2 bufr_dump_C)
list(APPEND tests2 bufr_dump_encode_C)
endif()
# These tests do not require any data downloads
@ -144,15 +144,15 @@ foreach( test ${tests2} )
endforeach()
if( HAVE_FORTRAN AND ENABLE_EXTRA_TESTS )
set_tests_properties ( eccodes_t_bufr_dump_fortran PROPERTIES TIMEOUT 2500)
set_tests_properties ( eccodes_t_bufr_dump_encode_fortran PROPERTIES TIMEOUT 2500)
endif()
if( ENABLE_EXTRA_TESTS )
set_tests_properties ( eccodes_t_bufr_dump_C PROPERTIES TIMEOUT 2500)
set_tests_properties ( eccodes_t_bufr_dump_encode_C PROPERTIES TIMEOUT 2500)
endif()
if( HAVE_PYTHON AND ENABLE_EXTRA_TESTS )
set(test bufr_dump_python)
set(test bufr_dump_encode_python)
ecbuild_add_test( TARGET eccodes_t_${test}
TYPE SCRIPT
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${test}.sh

View File

@ -11,7 +11,7 @@
. ./include.sh
#Define a common label for all the tmp files
label="bufr_dump_C_test"
label="bufr_dump_encode_C_test"
#Create log file
fLog=${label}".log"

View File

@ -14,7 +14,7 @@ set -x
cd ${data_dir}/bufr
#Define a common label for all the tmp files
label="bufr_dump_filter_test"
label="bufr_dump_encode_filter_test"
#Create log file
fLog=${label}".log"

View File

@ -11,7 +11,7 @@
. ./include.sh
#Define a common label for all the tmp files
label="bufr_dump_fortran_test"
label="bufr_dump_encode_fortran_test"
#Create log file
fLog=${label}".log"

View File

@ -11,7 +11,7 @@
. ./include.sh
#Define a common label for all the tmp files
label="bufr_dump_python_test"
label="bufr_dump_encode_python_test"
#Create log file
fLog=${label}".log"