-
Notifications
You must be signed in to change notification settings - Fork 463
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
Unable to run CTest in parallel #3812
Comments
@Jepsson Hi, we're having conversation about this regression in this issue as well: #3804. I'm going to close this one as a duplicate, but please see this comment and try to install the vsix (after renaming from a .zip), and see if it fixes your issue. If it does, then I'll create a merge a PR. Thanks! |
@Jepsson Could you confirm that the vsix in that comment fixes your issue? |
@gcampbell-msft I have installed the vsix and it works, thank you! |
Brief Issue Summary
After updating to v1.18(from v1.17) I am unable to run our google tests using the "Run CTest" button in the status bar,
I am using a CMakePresets.json which looks like this:
and also setting
"cmake.ctest.allowParallelJobs": true
In version v1.18
Ctest command generated:
/usr/bin/ctest -T test --output-on-failure --parallel 16 -j18 -R ^<big chunk of tests>
Output from command:
In version v1.17
Ctest command generated:
/usr/bin/ctest -T test --output-on-failure --parallel 16
other info
If I set
"cmake.ctest.allowParallelJobs": false
I can run the tests but they take ages to run(~1700 tests), and when running in parallell it takes ~4 seconds.It also seems very strange that the extension adds a flag(--parallel 16) for my specified number of jobs in CMakePresets.json and also a flag(-j18) when setting
allowParallelJobs
to true.CMake Tools Diagnostics
Debug Log
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: