Skip to content

Allow multiple -Z debug options.#14313

Merged
bors-servo merged 1 commit intoservo:masterfrom
asajeffrey:util-opts-multiple-debugs
Nov 22, 2016
Merged

Allow multiple -Z debug options.#14313
bors-servo merged 1 commit intoservo:masterfrom
asajeffrey:util-opts-multiple-debugs

Conversation

@asajeffrey
Copy link
Copy Markdown
Contributor

@asajeffrey asajeffrey commented Nov 21, 2016

This PR allows the -Z command line option to be set multiple times; servo -Zfoo -Zbar is the same as servo -Zfoo,bar. This means we can pass debug options into mach test-wpt as mach test-wpt --binary-arg=-Zfoo; previously this failed because mach already passed in some debug options.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes do not require tests because this is part of the debug and test architecture

This change is Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 21, 2016
@asajeffrey
Copy link
Copy Markdown
Contributor Author

@bors-servo r? @jgraham

@highfive highfive assigned jgraham and unassigned larsbergstrom Nov 21, 2016
@frewsxcv
Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo
Copy link
Copy Markdown
Contributor

📌 Commit 358a7e2 has been approved by frewsxcv

@highfive highfive assigned frewsxcv and unassigned jgraham Nov 22, 2016
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Nov 22, 2016
@bors-servo
Copy link
Copy Markdown
Contributor

⌛ Testing commit 358a7e2 with merge cd77071...

bors-servo pushed a commit that referenced this pull request Nov 22, 2016
Allow multiple -Z debug options.

<!-- Please describe your changes on the following line: -->

This PR allows the `-Z` command line option to be set multiple times; `servo -Zfoo -Zbar` is the same as `servo -Zfoo,bar`. This means we can pass debug options into `mach test-wpt` as `mach test-wpt --binary-arg=-Zfoo`; previously this failed because mach already passed in some debug options.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because this is part of the debug and test architecture

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14313)
<!-- Reviewable:end -->
@bors-servo
Copy link
Copy Markdown
Contributor

@bors-servo bors-servo merged commit 358a7e2 into servo:master Nov 22, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants