From 56243cfc054c20ff647b44c8d1ea1eee9a18f456 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Wed, 5 Aug 2020 10:04:47 -0600 Subject: [PATCH] turn off netcdf-integration in travis testing --- .travis.yml | 3 +-- tests/unit/basic_tests.F90 | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 122e3e64f7a..07a76603d90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,6 @@ before_script: - export CPPFLAGS='-I/usr/include' - wget https://parallel-netcdf.github.io/Release/pnetcdf-1.12.1.tar.gz - tar -xzvf pnetcdf-1.12.1.tar.gz - - ls -l - pushd pnetcdf-1.12.1 - ./configure --prefix=/usr --enable-shared - make @@ -44,7 +43,7 @@ script: - export CFLAGS='-std=c99 -fsanitize=address -fno-omit-frame-pointer -Werror' - export FFLAGS='-fsanitize=address -fno-omit-frame-pointer' - export FCFLAGS='-fsanitize=address -fno-omit-frame-pointer -Werror' - - export DISTCHECK_CONFIGURE_FLAGS='--enable-fortran --enable-netcdf-integration' + - export DISTCHECK_CONFIGURE_FLAGS='--enable-fortran' - ./configure --enable-fortran --enable-developer-docs - make -j distcheck - make -j distclean diff --git a/tests/unit/basic_tests.F90 b/tests/unit/basic_tests.F90 index 541fa92cd12..e48c99a9047 100644 --- a/tests/unit/basic_tests.F90 +++ b/tests/unit/basic_tests.F90 @@ -285,7 +285,7 @@ Subroutine test_open(test_id, err_msg) call mpi_abort(MPI_COMM_WORLD, 0, ret_val2) end if - ret_val = PIO_set_log_level(3) + !ret_val = PIO_set_log_level(3) ret_val = PIO_inq_unlimdim(pio_file, unlimdimid) if(unlimdimid /= -1) then err_msg = "Error in inq_unlimdim" @@ -293,7 +293,7 @@ Subroutine test_open(test_id, err_msg) print *,__FILE__,__LINE__,iotype, trim(err_msg) call mpi_abort(MPI_COMM_WORLD, 0, ret_val2) end if - ret_val = PIO_set_log_level(0) + !ret_val = PIO_set_log_level(0) ! Close file call PIO_closefile(pio_file)