提交 bd2f86f2 编写于 作者: haoranc's avatar haoranc

ci:add the env that builds with sanitizer

上级 5c59e696
,,y,unit-test,bash test.sh
,,,script,./test.sh -f tsim/user/basic.sim
,,,script,./test.sh -f tsim/user/password.sim
,,y,script,./test.sh -f tsim/user/basic.sim
,,y,script,./test.sh -f tsim/user/password.sim
,,,script,./test.sh -f tsim/user/privilege_db.sim
,,,script,./test.sh -f tsim/user/privilege_sysinfo.sim
,,,script,./test.sh -f tsim/db/alter_option.sim
......
......@@ -13,7 +13,7 @@ function usage() {
}
ent=0
while getopts "w:d:c:t:o:e:sh" opt; do
while getopts "w:d:c:t:o:s:eh" opt; do
case $opt in
w)
WORKDIR=$OPTARG
......@@ -67,7 +67,7 @@ fi
#select whether the compilation environment includes sanitizer
if [ "${buildSan}" == "y" ]; then
DEBUGPATH="buildSan"
DEBUGPATH="debugSan"
elif [[ "${buildSan}" == "n" ]] || [[ "${case_build_san}" == "" ]]; then
DEBUGPATH="debugNoSan"
else
......@@ -80,7 +80,7 @@ if [ $ent -ne 0 ]; then
extra_param="$extra_param -e"
INTERNAL_REPDIR=$WORKDIR/TDinternal
REPDIR=$INTERNAL_REPDIR/community
REPDIR_DEBUG=$WORKDIR/DEBUGPATH/
REPDIR_DEBUG=$WORKDIR/$DEBUGPATH/
CONTAINER_TESTDIR=/home/TDinternal/community
SIM_DIR=/home/TDinternal/sim
REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal"
......@@ -89,7 +89,7 @@ if [ $ent -ne 0 ]; then
else
# community edition
REPDIR=$WORKDIR/TDengine
REPDIR_DEBUG=$WORKDIR/DEBUGPATH/
REPDIR_DEBUG=$WORKDIR/$DEBUGPATH/
CONTAINER_TESTDIR=/home/TDengine
SIM_DIR=/home/TDengine/sim
REP_MOUNT_PARAM="$REPDIR:/home/TDengine"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册