Skip to content

regression(GOCART2G): use esma_add_regression_tests() macro#464

Closed
pchakraborty wants to merge 2 commits into
release/MAPL-v3from
feature/pchakrab/temp-fix-for-ci-run
Closed

regression(GOCART2G): use esma_add_regression_tests() macro#464
pchakraborty wants to merge 2 commits into
release/MAPL-v3from
feature/pchakrab/temp-fix-for-ci-run

Conversation

@pchakraborty

Copy link
Copy Markdown
Collaborator

Replace hand-rolled CMake boilerplate in GOCART2G_GridComp/regression/CMakeLists.txt with a call to esma_add_regression_tests() from ESMA_cmake#553.

Changes

  • CMakeLists.txt — replaced ~60 lines of duplicated boilerplate with a 5-line esma_add_regression_tests() call
  • run_case.cmake — removed copy_directory, link_directory, run_geos, and compare_results functions (now provided by esma_regression_run_helpers.cmake); copy_restarts and run_case remain as GOCART2G-specific logic
  • sync_data.cmake — deleted; superseded by esma_sync_aws_s3_data.cmake in ESMA_cmake

Dependency

Requires ESMA_cmake #553 to be merged first.

Replace hand-rolled CMake boilerplate in CMakeLists.txt with a call to
esma_add_regression_tests() from ESMA_cmake. Remove the per-component
sync_data.cmake (superseded by esma_sync_aws_s3_data.cmake) and extract
shared helper functions (copy_directory, link_directory, run_geos,
compare_results) into esma_regression_run_helpers.cmake.
@pchakraborty
pchakraborty requested a review from a team as a code owner July 8, 2026 15:14
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

This PR is being prevented from merging because you have not added one of our required labels: 0 diff, 0 diff trivial, Non 0-diff, 0 diff structural, 0-diff trivial, Not 0-diff, 0-diff, automatic, 0-diff uncoupled, github_actions. Please add one so that the PR can be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant