Skip to content

Compilation times: reorder cpp unit-tests#1428

Open
mgovers wants to merge 1 commit into
mainfrom
pgm/feature/reorganize-tests
Open

Compilation times: reorder cpp unit-tests#1428
mgovers wants to merge 1 commit into
mainfrom
pgm/feature/reorganize-tests

Conversation

@mgovers

@mgovers mgovers commented Jun 8, 2026

Copy link
Copy Markdown
Member

Reorder cpp unit test files into separate subdirectories, following the same order as for the header files and the CMake targets

Rationale: Recently, our compilation times have increased. This PR does not solve that, but will make the fix more easily reviewable. It also homogenizes the codebase

Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
@mgovers mgovers self-assigned this Jun 8, 2026
@mgovers mgovers added the improvement Improvement on internal implementation label Jun 8, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

Comment on lines 13 to 30
@@ -139,18 +28,3 @@ target_link_libraries(
)

doctest_discover_tests(power_grid_model_unit_tests)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Was it intentional to leave these behind?

@figueroa1395

Copy link
Copy Markdown
Member

Additionally, don't forget to modify the documentation (build-guide) to reflect the new targets for cmake.

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

Labels

improvement Improvement on internal implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants