Skip to content

ref: Move bfield dependency to tests#980

Merged
niermann999 merged 1 commit into
acts-project:mainfrom
niermann999:ref-move-bfield
May 24, 2025
Merged

ref: Move bfield dependency to tests#980
niermann999 merged 1 commit into
acts-project:mainfrom
niermann999:ref-move-bfield

Conversation

@niermann999

@niermann999 niermann999 commented Apr 24, 2025

Copy link
Copy Markdown
Collaborator

Move the covfie dependency to the test, so that covfie only gets set up if tests, benchmarks or tutorials are selected.
The test sub-libraries are reoredered according to their dependencies and client use cases:

  • (not sure about the naming here)test_common (depends on covfie): Contains test detectors, bfield and track generators, as e.g. needed by the benchmarks or tutorials
  • test_utils (no external dependencies): lightweight utils for extended testing, e.g. inspectors, specialized actors, multiple-scattering tools (for traccc simulation)
  • validation_utils (depends on actsvg and csv IO): Large validation suites for navigation and material
  • test_framework (depends on google test): Tools needed to run detray unit and integration tests

Most changes come down to renaming or removing dependencies (like moving the validation configs to the validation utils lib and removing any dependencies on the test_framework), but should stay detray-internal (see e.g. acts-project/traccc#948 for the amount of downstream changes).

The removal of the gtest dependency also allows to use the validation tools in traccc and acts without requiring gtest for no reason

@niermann999 niermann999 force-pushed the ref-move-bfield branch 11 times, most recently from e40e565 to c5a4211 Compare April 25, 2025 15:19
@niermann999 niermann999 marked this pull request as ready for review April 25, 2025 15:37
@niermann999 niermann999 added blocked This item is blocked by another item build Changes related to the build system labels Apr 25, 2025
@niermann999 niermann999 force-pushed the ref-move-bfield branch 3 times, most recently from 2c83881 to 29a665f Compare April 26, 2025 11:48
@niermann999 niermann999 removed the blocked This item is blocked by another item label Apr 29, 2025
@niermann999 niermann999 force-pushed the ref-move-bfield branch 2 times, most recently from eb53fc1 to 3523ff6 Compare May 7, 2025 12:21
@niermann999

Copy link
Copy Markdown
Collaborator Author

Needed as a prerequisite to acts-project/traccc#966

@sonarqubecloud

Copy link
Copy Markdown

@beomki-yeo beomki-yeo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@niermann999 niermann999 merged commit 854bad4 into acts-project:main May 24, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Changes related to the build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants