THRIFT-5548: add kotlin code gen
Client: kotlin
Patch: Jiayu Liu
This closes #2556
diff --git a/test/crossrunner/run.py b/test/crossrunner/run.py
index bb06d25..126b7ec 100644
--- a/test/crossrunner/run.py
+++ b/test/crossrunner/run.py
@@ -243,7 +243,11 @@
# kill them off; if we didn't kill them off, something else
# happened (crashed?)
if test.server.stop_signal != 0:
- if sv.killed or sv.returncode > 0:
+ # for bash scripts, 128+N is the exit code for signal N, since we are sending
+ # DEFAULT_SIGNAL=1, 128 + 1 is the expected err code
+ # http://www.gnu.org/software/bash/manual/html_node/Exit-Status.html
+ allowed_return_code = set([-1, 0, 128 + 1])
+ if sv.killed or sv.returncode not in allowed_return_code:
result |= RESULT_ERROR
else:
if not sv.killed: