Testing: Rename

This commit is contained in:
Shahram Najm 2024-02-19 11:41:47 +00:00
parent 0dc3c273cc
commit fa65a96e88
3 changed files with 5 additions and 5 deletions

View File

@ -445,7 +445,7 @@ if( HAVE_BUILD_TOOLS )
TYPE SCRIPT TYPE SCRIPT
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/grib_encode_pthreads.sh ) COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/grib_encode_pthreads.sh )
foreach( test grib_threads_ecc-604 grib_threads_ecc-604-encode bufr_threads_ecc-604 ) foreach( test grib_threads_ecc-604 grib_threads_ecc-604-encode bufr_encode_pthreads )
ecbuild_add_executable( TARGET ${test} ecbuild_add_executable( TARGET ${test}
NOINSTALL NOINSTALL
SOURCES ${test}.cc SOURCES ${test}.cc
@ -455,10 +455,10 @@ if( HAVE_BUILD_TOOLS )
TYPE SCRIPT TYPE SCRIPT
TEST_DEPENDS eccodes_download_gribs TEST_DEPENDS eccodes_download_gribs
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/grib_threads_ecc-604.sh ) COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/grib_threads_ecc-604.sh )
ecbuild_add_test( TARGET eccodes_t_bufr_threads_ecc-604 ecbuild_add_test( TARGET eccodes_t_bufr_encode_pthreads
TYPE SCRIPT TYPE SCRIPT
TEST_DEPENDS eccodes_download_bufrs TEST_DEPENDS eccodes_download_bufrs
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bufr_threads_ecc-604.sh ) COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bufr_encode_pthreads.sh )
endif() endif()
if( NOT ECCODES_ON_WINDOWS ) if( NOT ECCODES_ON_WINDOWS )

View File

@ -10,13 +10,13 @@
. ./include.ctest.sh . ./include.ctest.sh
label="bufr_threads_ecc-604" label="bufr_encode_pthreads_test"
temp_dir=tempdir.${label} temp_dir=tempdir.${label}
NUM_THREADS=3 NUM_THREADS=3
NUM_ITER=5 NUM_ITER=5
OUTPUT=output OUTPUT=output
PROG="${test_dir}/bufr_threads_ecc-604" PROG="${test_dir}/bufr_encode_pthreads"
validate() validate()
{ {