Skip to content

Conversation

@bartgol
Copy link
Contributor

@bartgol bartgol commented Oct 20, 2025

Instead of adding mesh free grids mgr to the test support lib, add it to the data managers lib.
This avoids having to link many other share libs (field, grid, remap, etc) to all unit tests.
E.g., fields unit tests should not require eamxx_grid to build...

[BFB]


@bartgol bartgol self-assigned this Oct 20, 2025
@bartgol bartgol added BFB PR leaves answers BFB CMake build system EAMxx C++ based E3SM atmosphere model (aka SCREAM) labels Oct 20, 2025
@bartgol bartgol marked this pull request as draft October 22, 2025 18:08
@bartgol bartgol marked this pull request as ready for review October 22, 2025 18:08
Instead, add mesh free grids mgr to the data managers lib.
Tests that need it, will already link against data mgrs lib
anyways, but this way we don't force upstream libs tests
to link against downstream libs. E.g., fields unit tests
should not require eamxx_grid to build..
When we reorganized share folder libs, I added the test in
share/utils, but did not notice we were testing bfbhash in the
main tests folder.
@bartgol bartgol force-pushed the bartgol/eamxx/fix-test-support-lib branch from cb1e4dc to bee75ee Compare October 22, 2025 18:09
@bartgol
Copy link
Contributor Author

bartgol commented Oct 22, 2025

Failures are the same as in master. This is ready for final review and possibly integration.

bartgol added a commit that referenced this pull request Oct 22, 2025
Instead of adding mesh free grids mgr to the test support lib,
add it to the data managers lib. This avoids having to link
many other share libs (field, grid, remap, etc) to all unit tests.
E.g., fields unit tests should not require eamxx_grid to build...

[BFB]
@bartgol bartgol merged commit e9e20b9 into master Oct 22, 2025
18 of 20 checks passed
@bartgol bartgol deleted the bartgol/eamxx/fix-test-support-lib branch October 22, 2025 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BFB PR leaves answers BFB CMake build system EAMxx C++ based E3SM atmosphere model (aka SCREAM)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants