Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 986206 - Report filenames on test failures r=jgriffin #6

Merged
merged 1 commit into from Mar 28, 2014
Merged

Bug 986206 - Report filenames on test failures r=jgriffin #6

merged 1 commit into from Mar 28, 2014

Conversation

lambdabaa
Copy link

No description provided.

@@ -67,7 +67,7 @@ TBPL.prototype = {
*/
onFail: function(test, err) {
var title = this.getTitle(test);
console.log('TEST-UNEXPECTED-FAIL | %s', title);
console.log('TEST-UNEXPECTED-FAIL | %s in %s', title, test.file);

Choose a reason for hiding this comment

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

Format should be: ('TEST-UNEXPECTED-FAIL | %s | %s', test.file, title), per https://wiki.mozilla.org/Sheriffing/Job_Visibility_Policy#6.29_Outputs_failures_in_a_TBPL-starrable_format

Copy link
Author

Choose a reason for hiding this comment

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

Thanks! Fixing...

@lambdabaa
Copy link
Author

@jonallengriffin Updated to correct format!

@@ -67,7 +67,7 @@ TBPL.prototype = {
*/
onFail: function(test, err) {
var title = this.getTitle(test);
console.log('TEST-UNEXPECTED-FAIL | %s', title);
console.log('TEST-UNEXPECTED-FAIL | %s | %s', title, test.file);

Choose a reason for hiding this comment

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

Sorry, should be test.file, then title, e.g., "TEST-UNEXPECTED-FAIL | test_foo.js | something bad happened".

Copy link
Author

Choose a reason for hiding this comment

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

Ohp sorry I misread!

@lambdabaa
Copy link
Author

Updated again lol

@jonallengriffin
Copy link

Perfect, thanks!

lambdabaa pushed a commit that referenced this pull request Mar 28, 2014
Bug 986206 - Report filenames on test failures r=jgriffin
@lambdabaa lambdabaa merged commit b0dd220 into mozilla-b2g:master Mar 28, 2014
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.

None yet

2 participants