aboutsummaryrefslogtreecommitdiffstats
path: root/harness/doneprintHandle.js
blob: 625feef572044bf547ffab1ad07cf4ae35bbbbfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2017 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: |

---*/

function __consolePrintHandle__(msg){
  print(msg);
}

function $DONE(){
  if(!arguments[0])
    __consolePrintHandle__('Test262:AsyncTestComplete');
  else
    __consolePrintHandle__('Error: ' + arguments[0]);
}