Chromium Code Reviews| Index: test/test262/harness-adapt.js |
| diff --git a/test/test262/harness-adapt.js b/test/test262/harness-adapt.js |
| index 52b5de70bdd2e16a8212164a3dfcd7400aa67c78..ae7f8a7e8b0b3d788bbf410ee075877f7733083b 100644 |
| --- a/test/test262/harness-adapt.js |
| +++ b/test/test262/harness-adapt.js |
| @@ -80,3 +80,13 @@ var ES5Harness = (function() { |
| registerTest: registerTest |
| } |
| })(); |
| + |
| +var $DONE; |
| +$DONE = function __v8_$DONE__(arg){ |
|
Jakob Kummerow
2014/08/18 11:55:46
why not just:
function $DONE(arg) {
smikes
2014/08/18 16:04:26
Done.
|
| + if (arg) { |
| + print('FAILED! Error: ' + arguments[0]); |
|
Jakob Kummerow
2014/08/18 11:55:47
why not s/arguments[0]/arg/ ?
smikes
2014/08/18 16:04:26
Done.
|
| + quit(1); |
| + } |
| + |
| + quit(0); |
| +}; |