diff options
Diffstat (limited to 'includes/js/util/doh/_rhinoRunner.js')
-rw-r--r-- | includes/js/util/doh/_rhinoRunner.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/includes/js/util/doh/_rhinoRunner.js b/includes/js/util/doh/_rhinoRunner.js deleted file mode 100644 index ae47597..0000000 --- a/includes/js/util/doh/_rhinoRunner.js +++ /dev/null @@ -1,17 +0,0 @@ -if(this["dojo"]){ - dojo.provide("doh._rhinoRunner"); -} - -doh.debug = print; - -// Override the doh._report method to make it quit with an -// appropriate exit code in case of test failures. -(function(){ - var oldReport = doh._report; - doh._report = function(){ - oldReport.apply(doh, arguments); - if(this._failureCount > 0 || this._errorCount > 0){ - quit(1); - } - } -})(); |