Skip to content
Browse files

Bug 851163: Log a tbpl message for exceptions from the main test func…

…tions.
  • Loading branch information...
1 parent e58b0d1 commit 68262ec88808a59fe72a04712ef316a54a58f865 @Mossop committed Mar 14, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/sdk/deprecated/unit-test.js
View
2 lib/sdk/deprecated/unit-test.js
@@ -109,6 +109,8 @@ TestRunner.prototype = {
exception: function exception(e) {
this._logTestFailed("exception");
+ if (cfxArgs.parseable)
+ this.console.print("TEST-UNEXPECTED-FAIL | " + this.test.name + " | " + e + "\n");
this.console.exception(e);
this.failed++;
this.test.failed++;

0 comments on commit 68262ec

Please sign in to comment.
Something went wrong with that request. Please try again.