Index: test/test262/harness-adapt.js |
diff --git a/test/test262/harness-adapt.js b/test/test262/harness-adapt.js |
index 52b5de70bdd2e16a8212164a3dfcd7400aa67c78..60c0858f0290cba1eb14c50eb8fb26ea994ff5f9 100644 |
--- a/test/test262/harness-adapt.js |
+++ b/test/test262/harness-adapt.js |
@@ -80,3 +80,12 @@ var ES5Harness = (function() { |
registerTest: registerTest |
} |
})(); |
+ |
+function $DONE(arg){ |
+ if (arg) { |
+ print('FAILED! Error: ' + arg); |
+ quit(1); |
+ } |
+ |
+ quit(0); |
+}; |