Skip to content

Split runner selection from test selection#19729

Merged
weswigham merged 2 commits into
masterfrom
split-runner-and-test
Nov 6, 2017
Merged

Split runner selection from test selection#19729
weswigham merged 2 commits into
masterfrom
split-runner-and-test

Conversation

@weswigham
Copy link
Copy Markdown
Member

This adds a runner, runners, or ru flag which controls the runner suites which are enabled, (rather than inferring it from test. This allows you to say jake runtests test=skype ru=rwc and run specific individual tests. 😉

@weswigham weswigham requested review from mhegazy and sandersn November 3, 2017 22:45
Comment thread src/harness/runner.ts Outdated

if (testConfig.test && testConfig.test.length > 0) {
for (const option of testConfig.test) {
if (testConfig.runners && testConfig.runners.length > 0) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably use runners||test so that jake runtests t=rwc still works.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done; now the CI server won't break :P

@sandersn
Copy link
Copy Markdown
Member

sandersn commented Nov 6, 2017

Does it work with runtests-parallel? What about test?

Copy link
Copy Markdown
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion: maybe t= should be the runner chooser and re= should be the regular expression.

@weswigham weswigham merged commit c016f5b into master Nov 6, 2017
@weswigham weswigham deleted the split-runner-and-test branch November 6, 2017 19:24
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants