Windows tests

This commit is contained in:
Shahram Najm 2019-12-13 13:18:15 +00:00
parent 6a4c637af1
commit 42aee0ee4a
3 changed files with 10 additions and 2 deletions

View File

@ -263,7 +263,6 @@ ecbuild_add_test( TARGET eccodes_t_bufr_ecc-197
TEST_DEPENDS eccodes_download_bufrs
)
if( ENABLE_EXTRA_TESTS AND HAVE_ECCODES_THREADS )
ecbuild_add_executable( TARGET grib_encode_pthreads
NOINSTALL
@ -342,4 +341,3 @@ ecbuild_add_test( TARGET eccodes_t_grib_ecc-386
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/grib_ecc-386.sh
TEST_DEPENDS eccodes_download_gribs
)

View File

@ -13,6 +13,11 @@
label="grib_lam_bf"
temp=temp.$label.txt
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
echo "$0: This test is currently disabled on Windows"
exit 0
fi
dump_and_check()
{
input=$1

View File

@ -10,4 +10,9 @@
. ./include.sh
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
echo "$0: This test is currently disabled on Windows"
exit 0
fi
exec $test_dir/grib_optimize_scaling