ci:add the env that builds with sanitizer
This commit is contained in:
parent
5c59e69607
commit
bd2f86f22c
|
@ -1,6 +1,6 @@
|
||||||
,,y,unit-test,bash test.sh
|
,,y,unit-test,bash test.sh
|
||||||
,,,script,./test.sh -f tsim/user/basic.sim
|
,,y,script,./test.sh -f tsim/user/basic.sim
|
||||||
,,,script,./test.sh -f tsim/user/password.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_db.sim
|
||||||
,,,script,./test.sh -f tsim/user/privilege_sysinfo.sim
|
,,,script,./test.sh -f tsim/user/privilege_sysinfo.sim
|
||||||
,,,script,./test.sh -f tsim/db/alter_option.sim
|
,,,script,./test.sh -f tsim/db/alter_option.sim
|
||||||
|
|
|
@ -13,7 +13,7 @@ function usage() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ent=0
|
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
|
case $opt in
|
||||||
w)
|
w)
|
||||||
WORKDIR=$OPTARG
|
WORKDIR=$OPTARG
|
||||||
|
@ -67,7 +67,7 @@ fi
|
||||||
|
|
||||||
#select whether the compilation environment includes sanitizer
|
#select whether the compilation environment includes sanitizer
|
||||||
if [ "${buildSan}" == "y" ]; then
|
if [ "${buildSan}" == "y" ]; then
|
||||||
DEBUGPATH="buildSan"
|
DEBUGPATH="debugSan"
|
||||||
elif [[ "${buildSan}" == "n" ]] || [[ "${case_build_san}" == "" ]]; then
|
elif [[ "${buildSan}" == "n" ]] || [[ "${case_build_san}" == "" ]]; then
|
||||||
DEBUGPATH="debugNoSan"
|
DEBUGPATH="debugNoSan"
|
||||||
else
|
else
|
||||||
|
@ -80,7 +80,7 @@ if [ $ent -ne 0 ]; then
|
||||||
extra_param="$extra_param -e"
|
extra_param="$extra_param -e"
|
||||||
INTERNAL_REPDIR=$WORKDIR/TDinternal
|
INTERNAL_REPDIR=$WORKDIR/TDinternal
|
||||||
REPDIR=$INTERNAL_REPDIR/community
|
REPDIR=$INTERNAL_REPDIR/community
|
||||||
REPDIR_DEBUG=$WORKDIR/DEBUGPATH/
|
REPDIR_DEBUG=$WORKDIR/$DEBUGPATH/
|
||||||
CONTAINER_TESTDIR=/home/TDinternal/community
|
CONTAINER_TESTDIR=/home/TDinternal/community
|
||||||
SIM_DIR=/home/TDinternal/sim
|
SIM_DIR=/home/TDinternal/sim
|
||||||
REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal"
|
REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal"
|
||||||
|
@ -89,7 +89,7 @@ if [ $ent -ne 0 ]; then
|
||||||
else
|
else
|
||||||
# community edition
|
# community edition
|
||||||
REPDIR=$WORKDIR/TDengine
|
REPDIR=$WORKDIR/TDengine
|
||||||
REPDIR_DEBUG=$WORKDIR/DEBUGPATH/
|
REPDIR_DEBUG=$WORKDIR/$DEBUGPATH/
|
||||||
CONTAINER_TESTDIR=/home/TDengine
|
CONTAINER_TESTDIR=/home/TDengine
|
||||||
SIM_DIR=/home/TDengine/sim
|
SIM_DIR=/home/TDengine/sim
|
||||||
REP_MOUNT_PARAM="$REPDIR:/home/TDengine"
|
REP_MOUNT_PARAM="$REPDIR:/home/TDengine"
|
||||||
|
|
Loading…
Reference in New Issue