-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3099 from GEOS-ESM/feature/wdboggs/#3064_variant_…
…spec_offset_extdata2g Allow update offsets based on timestep for extdata2g
- Loading branch information
Showing
5 changed files
with
405 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
set(MODULE_DIRECTORY "${esma_include}/gridcomps/ExtData2G/tests") | ||
|
||
set (test_srcs | ||
Test_ExtDataUpdatePointer.pf | ||
) | ||
|
||
add_pfunit_ctest(MAPL.ExtData2G.tests | ||
TEST_SOURCES ${test_srcs} | ||
LINK_LIBRARIES MAPL.ExtData2G | ||
) | ||
set_target_properties(MAPL.ExtData2G.tests PROPERTIES Fortran_MODULE_DIRECTORY ${MODULE_DIRECTORY}) | ||
set_tests_properties(MAPL.ExtData2G.tests PROPERTIES LABELS "ESSENTIAL") | ||
|
||
# With this test, it was shown that if you are building with the GNU Fortran | ||
# compiler and *not* on APPLE, then you need to link with the dl library. | ||
if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU" AND NOT APPLE) | ||
target_link_libraries(MAPL.ExtData2G.tests ${CMAKE_DL_LIBS}) | ||
endif () | ||
|
||
add_dependencies(build-tests MAPL.ExtData2G.tests) |
Oops, something went wrong.