diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2020-01-08 13:48:46 -0600 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2020-01-08 16:09:41 -0500 |
commit | 2dae25e94cc98497663afdeb0abc7c542cd74325 (patch) | |
tree | 0602c15d53ae8aef9e42f8d6f5602a904f44fa6e | |
parent | 55ef9f11ecacd5e78aff176b357fe8e7b3b619df (diff) | |
download | couchdb-2dae25e94cc98497663afdeb0abc7c542cd74325.tar.gz |
Log the exit code of couchjs
Recently we've been seeing the `couchjs` test runner exiting without
displaying a traceback of an error. This logs the exit code of the OS
process to see if that gives any insight into why its exiting.
-rwxr-xr-x | test/javascript/run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/javascript/run b/test/javascript/run index ac49e3ace..a465a7b68 100755 --- a/test/javascript/run +++ b/test/javascript/run @@ -58,7 +58,7 @@ def mkformatter(tests): elif rval == 3: return green + "ported to elixir" + clear else: - return red + "fail" + clear + return red + ("fail: %d" % rval) + clear def _fmt(test): if isinstance(test, str): |