mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
THRIFT-847 Test Framework harmonization across all languages
Patch: Roger Meier make cross: cpp-java fix parameters
This commit is contained in:
parent
0608c6356d
commit
188024e4b2
@ -146,7 +146,7 @@ for proto in $(intersection "${java_protocols}" "${cpp_protocols}"); do
|
||||
"ip" ) extraparam="";;
|
||||
"ip-ssl" ) extraparam="--ssl";;
|
||||
esac
|
||||
do_test "java-cpp" "${proto}" "${trans}-ip" \
|
||||
do_test "java-cpp" "${proto}" "${trans}-${sock}" \
|
||||
"ant -f ../lib/java/build.xml -Dno-gen-thrift=\"\" -Dtestargs \"--protocol=${proto} --transport=${trans} ${extraparam}\" testclient" \
|
||||
"cpp/TestServer --protocol=${proto} --transport=${trans} ${extraparam}"\
|
||||
"10" "15"
|
||||
@ -162,9 +162,9 @@ for proto in $(intersection "${cpp_protocols}" "${java_protocols}"); do
|
||||
"ip" ) extraparam="";;
|
||||
"ip-ssl" ) extraparam="--ssl";;
|
||||
esac
|
||||
do_test "cpp-java" "${proto}" "${trans}-ip" \
|
||||
"cpp/TestClient --protocol=${proto} --transport=${trans}" \
|
||||
"ant -f ../lib/java/build.xml -Dno-gen-thrift=\"\" -Dtestargs \"--protocol=${proto} --transport=${trans}\" testserver" \
|
||||
do_test "cpp-java" "${proto}" "${trans}-${sock}" \
|
||||
"cpp/TestClient --protocol=${proto} --transport=${trans} ${extraparam}" \
|
||||
"ant -f ../lib/java/build.xml -Dno-gen-thrift=\"\" -Dtestargs \"--protocol=${proto} --transport=${trans} ${extraparam}\" testserver" \
|
||||
"15" "10"
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user