Unverified Commit c3b26603 authored by Qianli Scott Zhu's avatar Qianli Scott Zhu Committed by GitHub
Browse files

Fix the testing script exit code for python test. (#3858)

parent 769d11d8
......@@ -53,12 +53,14 @@ py_test() {
py2_test() {
local PY_BINARY=$(which python2)
return $(py_test "${PY_BINARY}")
py_test "$PY_BINARY"
return $?
}
py3_test() {
local PY_BINARY=$(which python3)
return $(py_test "${PY_BINARY}")
py_test "$PY_BINARY"
return $?
}
test_result=0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment