提交 87501e1a 编写于 作者: J JiabinYang

Add mutable proc for mac run test

上级 1d91a49d
...@@ -381,7 +381,7 @@ function run_mac_test() { ...@@ -381,7 +381,7 @@ function run_mac_test() {
EOF EOF
# TODO: jiabin need to refine this part when these tests fixed on mac # TODO: jiabin need to refine this part when these tests fixed on mac
ctest --output-on-failure -j8 ctest --output-on-failure -j $1
# make install should also be test when unittest # make install should also be test when unittest
make install -j 8 make install -j 8
pip install /usr/local/opt/paddle/share/wheels/*.whl pip install /usr/local/opt/paddle/share/wheels/*.whl
...@@ -729,7 +729,7 @@ function main() { ...@@ -729,7 +729,7 @@ function main() {
maccheck) maccheck)
cmake_gen ${PYTHON_ABI:-""} cmake_gen ${PYTHON_ABI:-""}
build_mac build_mac
run_mac_test run_mac_test ${PROC_TO_RUN:-1}
;; ;;
cicheck_py35) cicheck_py35)
cmake_gen ${PYTHON_ABI:-""} cmake_gen ${PYTHON_ABI:-""}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册