Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out dynamic-only tests #388

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Split out dynamic-only tests #388

merged 3 commits into from
Apr 24, 2024

Conversation

ecatmur
Copy link
Contributor

@ecatmur ecatmur commented Jun 29, 2023

Compiling tests under Visual Studio 2019 14.29.30133 (19.29.30145.0) fails with a not very helpful error:

libs\histogram\test\algorithm_project_test.cpp(186,1): fatal error C1903: unable to recover from previous error(s); stopping compilation

This can be fixed by moving the dynamic-only tests into a separate function, so that they are only compiled and run once.

ecatmur and others added 3 commits June 29, 2023 08:28
Compiling tests under Visual Studio 2019 14.29.30133 (19.29.30145.0) fails with a not very helpful error:
```
libs\histogram\test\algorithm_project_test.cpp(186,1): fatal error C1903: unable to recover from previous error(s); stopping compilation
```
This can be fixed by moving the dynamic-only tests into a separate function, so that they are only compiled and run once.
@HDembinski
Copy link
Collaborator

@ecatmur Thank you for this nice patch and sorry for the long delay in responding. I added a comment to the code why this was changed. How did you find out this fix?

@HDembinski HDembinski merged commit b11364e into boostorg:develop Apr 24, 2024
8 of 9 checks passed
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