提交 44bc7056 编写于 作者: S Shuduo Sang

turn on output for debug.

上级 85ddff09
...@@ -27,7 +27,7 @@ function runPyCaseOneByOne { ...@@ -27,7 +27,7 @@ function runPyCaseOneByOne {
if [[ $line != *sleep* ]]; then if [[ $line != *sleep* ]]; then
case=`echo $line|awk '{print $NF}'` case=`echo $line|awk '{print $NF}'`
start_time=`date +%s` start_time=`date +%s`
$line > /dev/null 2>&1 && \ $line && \
echo -e "${GREEN}$case success${NC}" | tee -a pytest-out.log || \ echo -e "${GREEN}$case success${NC}" | tee -a pytest-out.log || \
echo -e "${RED}$case failed${NC}" | tee -a pytest-out.log echo -e "${RED}$case failed${NC}" | tee -a pytest-out.log
end_time=`date +%s` end_time=`date +%s`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册