Skip to content

test: stage canonical DAGMC geometry for external driver - #4153

Closed
kvnloo wants to merge 2 commits into
openmc-dev:developfrom
kvnloo:test/external-dagmc-canonical-asset
Closed

kvnloo wants to merge 2 commits into
openmc-dev:developfrom
kvnloo:test/external-dagmc-canonical-asset

Conversation

@kvnloo

@kvnloo kvnloo commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Follow-up shared-DAGMC-data cleanup for #4093.

The external C++ DAGMC regression test stores another copy of the legacy dagmc.h5m, even though the canonical geometry already lives at tests/regression_tests/dagmc/legacy/dagmc.h5m.

The C++ driver calls load_file("dagmc.h5m") directly, so this keeps that runtime contract unchanged: a fixture copies the canonical geometry beside the driver for the duration of the test and removes it afterward. The duplicate checked-in asset is then removed.

No production code changes.

Validation at 7a83e9227b9bbdd17f63e1e6f568ad513ceb9769:

  • C++ Format Check: passed
  • Tests and Coverage: passed
  • branch is 2 commits ahead of current develop, 0 behind

Fork validation: kvnloo#6

AI-assisted source review and implementation.

@paulromano

Copy link
Copy Markdown
Contributor

The existing symlink isn't really a "duplicated" asset. Replacing it with copying and cleanup adds complexity without addressing a demonstrated problem, so I'd prefer to retain the symlink.

@paulromano paulromano closed this Oct 3, 2026
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.

2 participants