diff options
Diffstat (limited to 'test/gen-spec-js.py')
-rwxr-xr-x | test/gen-spec-js.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/gen-spec-js.py b/test/gen-spec-js.py index d32d7b1c..45e72c3d 100755 --- a/test/gen-spec-js.py +++ b/test/gen-spec-js.py @@ -117,8 +117,10 @@ function assertTrap(module, name, file, line) { function invoke(module, name) { try { var invokeResult = module.exports[name](); + passed++; } catch(e) { - print(file + ":" + line + ": " + name + " unexpectedly threw: " + e); + print(name + " unexpectedly threw: " + e); + failed++; } if (!quiet) |