diff options
author | Jiayu Liu <jiayu.liu@airbnb.com> | 2022-04-06 16:49:09 +0800 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2022-04-20 23:49:33 +0200 |
commit | 49b2d6b888a2a96fc0948da81a779a90b4624170 (patch) | |
tree | 11b532385bcf72e8ea1188ed489de0c905164a42 /test/crossrunner | |
parent | eac5103f8204021f7b5436001319c2b17ed5644f (diff) | |
download | thrift-49b2d6b888a2a96fc0948da81a779a90b4624170.tar.gz |
THRIFT-5548: add kotlin code gen
Client: kotlin
Patch: Jiayu Liu
This closes #2556
Diffstat (limited to 'test/crossrunner')
-rw-r--r-- | test/crossrunner/run.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/crossrunner/run.py b/test/crossrunner/run.py index bb06d25ef..126b7ec88 100644 --- a/test/crossrunner/run.py +++ b/test/crossrunner/run.py @@ -243,7 +243,11 @@ def run_test(testdir, logdir, test_dict, max_retry, async_mode=True): # 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: |