diff options
Diffstat (limited to 'test/javascript/run')
-rwxr-xr-x | test/javascript/run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/javascript/run b/test/javascript/run index a3b3ab704..ec12431b0 100755 --- a/test/javascript/run +++ b/test/javascript/run @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of @@ -146,7 +146,7 @@ def main(): sys.stderr.write("=======================================================" + os.linesep) sys.stderr.write("JavaScript tests complete." + os.linesep) - sys.stderr.write(" Failed: {}. Skipped or passed: {}.".format( + sys.stderr.write(" Failed: {0}. Skipped or passed: {1}.".format( failed, passed) + os.linesep) exit(failed > 0) |