Skip to content

gh-115556: Remove quotes from command-line arguments in test.bat and rt.bat - #115557

Merged
ambv merged 4 commits into
python:mainfrom
ambv:escape-commas
Feb 16, 2024
Merged

gh-115556: Remove quotes from command-line arguments in test.bat and rt.bat#115557
ambv merged 4 commits into
python:mainfrom
ambv:escape-commas

Conversation

@ambv

@ambv ambv commented Feb 16, 2024

Copy link
Copy Markdown
Contributor

This change essentially replaces usage of %1 with %~1, which removes quotes, if any. Without this change, the if statements fail due to the quotes mangling the syntax.

Additionally, this change works around comma being treated as a parameter delimiter in test.bat by escaping commas at time of parsing. Tested combinations of rt and regrtest arguments, all seems to work as before but now you can specify commas in arguments like "-uall,extralargefile".

Loading
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.

3 participants