Skip to content

Commit

Permalink
Changes to make tests are part of CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aoloso committed Feb 12, 2025
1 parent 1a6e06d commit ddcb5c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 2 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added subdirectory GetHorzIJIndex in the Tests directory for testing subroutine MAPL_GetHorzIJIndex to ensure the subroutine fails is teh cubed-sphere assumption is violated and also if the returned I and J indices are not correct.

### Changed

### Fixed
Expand All @@ -17,12 +19,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Deprecated

## [develop] - 2025-02-10

### Added

- Added subdirectory GetHorzIJIndex in the Tests directory for testing subroutine MAPL_GetHorzIJIndex to ensure the subroutine fails is teh cubed-sphere assumption is violated and also if the returned I and J indices are not correct.

## [2.54.1] - 2025-02-07

- Fix typo in ACG: 'num_subtitles' => 'num_subtiles'
Expand Down
3 changes: 2 additions & 1 deletion Tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ if (BUILD_WITH_FARGPARSE)
target_link_libraries (CapDriver.x PRIVATE MAPL MAPL.test_utilities FARGPARSE::fargparse ESMF::ESMF OpenMP::OpenMP_Fortran)
set_target_properties(CapDriver.x PROPERTIES Fortran_MODULE_DIRECTORY ${MODULE_DIRECTORY})

add_subdirectory(GetHorzIJIndex)

endif ()

add_subdirectory(GetHorzIJIndex)
3 changes: 3 additions & 0 deletions Tests/GetHorzIJIndex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ foreach(TEST_CASE ${TEST_CASES})
-DMPIEXEC_PREFLAGS=${MPIEXEC_PREFLAGS}
-P ${CMAKE_CURRENT_SOURCE_DIR}/run_gethorzijindex.cmake
)

set_tests_properties ("GetHorzIJIndex_${TEST_CASE}" PROPERTIES LABELS "THREADING_TESTS;ESSENTIAL")

endforeach()

0 comments on commit ddcb5c8

Please sign in to comment.