Skip to content

Return failure if the tidy self-tests fail. - #12567

Merged
bors-servo merged 1 commit into
masterfrom
tidy-self-test-result
Jul 24, 2016
Merged

bors-servo merged 1 commit into
masterfrom
tidy-self-test-result

Conversation

@Ms2ger

@Ms2ger Ms2ger commented Jul 23, 2016 •

Copy link
Copy Markdown
Contributor

This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @wafflespeanut: python/tidy/servo_tidy_tests/test_tidy.py

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 23, 2016
@Ms2ger

Ms2ger commented Jul 23, 2016

Copy link
Copy Markdown
Contributor Author

Will fail until #12565 lands.

@jdm

jdm commented Jul 23, 2016

Copy link
Copy Markdown
Member

Whoops. R=me when appropriate.

def do_tests():
suite = unittest.TestLoader().loadTestsFromTestCase(CheckTidiness)
unittest.TextTestRunner(verbosity=2).run(suite)
return 0 if unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful() else 1

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Wouldn't it be better if we had a name for the result?

@Ms2ger

Ms2ger commented Jul 24, 2016

Copy link
Copy Markdown
Contributor Author

@bors-servo r=jdm

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 3548b5e has been approved by jdm

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 3548b5e with merge 81a1e28...

@highfive highfive assigned jdm and unassigned Ms2ger Jul 24, 2016
@highfive highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jul 24, 2016
bors-servo pushed a commit that referenced this pull request Jul 24, 2016
@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 24, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev

@bors-servo
bors-servo merged commit 3548b5e into master Jul 24, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 24, 2016
@Ms2ger
Ms2ger deleted the tidy-self-test-result branch August 15, 2016 11:20
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.

4 participants