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

Rebuild not pulling test updates #2832

Closed
Lestropie opened this issue Feb 28, 2024 · 2 comments
Closed

Rebuild not pulling test updates #2832

Lestropie opened this issue Feb 28, 2024 · 2 comments
Assignees
Milestone

Comments

@Lestropie
Copy link
Member

In trying to finally resolve #2702 I ran into a trap with the current cmake configuration.

I first configure, build, then run a test. The test fails. I determine that the problem is not with the implementation of the thing I'm testing, but with the test itself. So I change the test, and re-run cmake --build. However the tests still fail as though I had not made any change.

@daljit46
Copy link
Member

This is a limitation of the way the tests are generated by CMake, which is something that happens at configure time.
I'm not sure there is an easy way to "build" the tests the same way as C++ source files, but I'll investigate possible ways to get around this.

@Lestropie
Copy link
Member Author

Closing; any discussion can happen in #2834.

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

No branches or pull requests

2 participants