Github user bufferoverflow commented on a diff in the pull request: https://github.com/apache/thrift/pull/194#discussion_r16448295 --- Diff: lib/java/test/org/apache/thrift/test/TestClient.java --- @@ -642,7 +684,28 @@ public static void main(String [] args) { System.exit(1); } - + int ret = 255 - TEST_NOTUSED; + if(!test_basetypes_fails){ + ret = ret - TEST_BASETYPES; + } + if(!test_structs_fails){ + ret = ret - TEST_STRUCTS; + } + if(!test_containers_fails){ + ret = ret - TEST_CONTAINERS; + } + if(!test_exceptions_fails){ + ret = ret - TEST_EXCEPTIONS; + } + if(!test_complex_fails){ + ret = ret - TEST_COMPLEX; + } + if(!test_enumtypedef_fails){ + ret = ret - TEST_ENUMTYPEDEF; + } + if(!test_oneway_fails){ + ret = ret - TEST_ONEWAY; + } System.exit(failCount); --- End diff -- yes, 0 = success and 1-255 is detailed error based on bitset defines
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---