Skip to content

Commit 5630618

Browse files
rem1776rem1776
authored andcommitted
fix collective io and time interp test failures
1 parent 54a625a commit 5630618

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@ list(APPEND TEST_SRC_MULTI_TARGET
777777
test_fms/sat_vapor_pres/test_sat_vapor_pres.F90
778778
test_fms/time_interp/test_time_interp.F90
779779
test_fms/time_interp/test_time_interp_external.F90
780+
test_fms/time_interp/test_time_interp_conservative_hi.F90
780781
test_fms/topography/test_topography.F90
781782
test_fms/tracer_manager/test_tracer_manager.F90
782783
test_fms/tridiagonal/test_tridiagonal.F90
@@ -888,8 +889,16 @@ foreach (testScript ${TEST_SCRIPTS})
888889
ENVIRONMENT "parser_skip=skip"
889890
)
890891
endif()
892+
891893
endforeach()
892894

895+
# skip parallel netcdf tests if its not enabled in given install
896+
IF(NOT NetCDF_PARALLEL)
897+
set_tests_properties(test_collective_io PROPERTIES
898+
ENVIRONMENT "parallel_skip=skip"
899+
)
900+
endif()
901+
893902
set(CMAKE_CTEST_ARGUMENTS "--output-on-failure")
894903

895904
### Package config

test_fms/time_interp/test_time_interp_conservative_hi.F90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ program test_time_interp_with_interp
3333
use time_interp_external2_mod, only: init_external_field, time_interp_external_init, time_interp_external
3434

3535
use time_manager_mod, only: JULIAN, time_type, set_date, set_calendar_type, time_manager_init
36+
use platform_mod, only: r4_kind, r8_kind
3637

3738
implicit none
3839

0 commit comments

Comments
 (0)