summaryrefslogtreecommitdiff
path: root/test/gen-spec-js.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen-spec-js.py')
-rwxr-xr-xtest/gen-spec-js.py4
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)