提交 3ecf6df9 编写于 作者: P plum-lihui

[test: add valgrind case]

上级 66400aff
...@@ -93,4 +93,7 @@ ...@@ -93,4 +93,7 @@
# --- sma # --- sma
./test.sh -f tsim/sma/tsmaCreateInsertData.sim ./test.sh -f tsim/sma/tsmaCreateInsertData.sim
# --- valgrind
./test.sh -f tsim/valgrind/checkError.sim -v
#======================b1-end=============== #======================b1-end===============
...@@ -71,6 +71,13 @@ print ====> start to check if there are ERRORS in vagrind log file for each dnod ...@@ -71,6 +71,13 @@ print ====> start to check if there are ERRORS in vagrind log file for each dnod
# -n : dnode[x] be check # -n : dnode[x] be check
system_content sh/checkValgrind.sh -n dnode1 system_content sh/checkValgrind.sh -n dnode1
print cmd return result----> [ $system_content ] print cmd return result----> [ $system_content ]
if $system_content != @ERROR SUMMARY: 0 errors@ then if $system_content == @ERROR SUMMARY: 0 errors@ then
return -1 return 0
endi endi
$null=
if $system_content == $null then
return 0
endi
return -1
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册