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

Adds explicit --name argument to test-ref #4093

Merged
merged 1 commit into from Nov 29, 2014

Conversation

@mttr
Copy link
Contributor

mttr commented Nov 25, 2014

./mach test-ref no longer eats the first "-" prefixed argument for test name filtering, instead using an explicit "--name" argument. This should avoid any potential confusion when passing down arguments to servo.

Also allows for ./tests/ref to be included (and trimmed away) for tab completion convenience (./mach test has also been updated to take advantage of this when inferring tests from file paths).

(fixes #4091)

In addition, `./mach test` will now take advantage of this when
inferring test suites from test files.
@hoppipolla-critic-bot
Copy link

hoppipolla-critic-bot commented Nov 25, 2014

Critic review: https://critic.hoppipolla.co.uk/r/3277

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@jdm

This comment has been minimized.

Copy link

jdm commented on 27a9460 Nov 29, 2014

r+

@jdm jdm removed the S-awaiting-review label Nov 29, 2014
@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 27a9460 Nov 29, 2014

saw approval from jdm
at mttr@27a9460

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 29, 2014

merging mttr/servo/mach_reftest_by_file = 27a9460 into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 29, 2014

mttr/servo/mach_reftest_by_file = 27a9460 merged ok, testing candidate = b87d98e

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 29, 2014

fast-forwarding master to auto = b87d98e

bors-servo pushed a commit that referenced this pull request Nov 29, 2014
`./mach test-ref` no longer eats the first "-" prefixed argument for test name filtering, instead using an explicit "--name" argument. This should avoid any potential confusion when passing down arguments to servo.

Also allows for ./tests/ref to be included (and trimmed away) for tab completion convenience (`./mach test` has also been updated to take advantage of this when inferring tests from file paths).

(fixes #4091)
@bors-servo bors-servo closed this Nov 29, 2014
@bors-servo bors-servo merged commit 27a9460 into servo:master Nov 29, 2014
1 check passed
1 check passed
default all tests passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.