Repository navigation
Run unit tests on Windows CI - #17824
Merged
Merged
Conversation
The Tests stage invoked rstudio-tests.bat with --scope core, but the batch script takes positional scope tokens (core, shared_core, rsession), not --scope. Since #14883 (Jun 2024) added argument parsing that routes any unrecognized token to the help text and exits 0, the stage has been printing usage and passing without running any tests. Pass the 'core' scope the script understands so the core suite runs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The Windows
Testsstage invokedrstudio-tests.bat --scope core, butthe batch script takes positional scope tokens (
core,shared_core,rsession) rather than the--scopeflag used by the bash script.Since #14883 (June 2024) added argument parsing that routes any
unrecognized token to the help text and exits 0,
--scope corecausedthe stage to print usage and pass without running any tests.
This passes the
corescope the script understands, so the core suiteruns on Windows CI again.