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

Speedup tests compilation time #1601

Open
certik opened this issue Aug 14, 2019 · 0 comments · May be fixed by #1602
Open

Speedup tests compilation time #1601

certik opened this issue Aug 14, 2019 · 0 comments · May be fixed by #1602

Comments

@certik
Copy link
Contributor

certik commented Aug 14, 2019

Currently it takes a long time to compile all the tests. Each test file takes a long time to compile. I think we should reorganize how we do tests according to:

https://github.com/catchorg/Catch2/blob/ce42deb72fab2be85a862f559984580c24cb76c4/docs/slow-compiles.md

I.e., have just one main executable, and all other test files just get linked into it. This should vastly improve the recompilation time if a test gets modified, as well as the overall time to compile tests.

@certik certik linked a pull request Aug 14, 2019 that will close this issue
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 a pull request may close this issue.

1 participant