test: adjust asan dir
This commit is contained in:
parent
0464a21d0e
commit
5831efd379
|
@ -390,7 +390,7 @@ class TDDnode:
|
|||
binPath, self.cfgDir)
|
||||
else:
|
||||
if self.asan:
|
||||
asanDir = "%s/sim/tsim/asan/dnode%d.asan" % (
|
||||
asanDir = "%s/sim/asan/dnode%d.asan" % (
|
||||
self.path, self.index)
|
||||
cmd = "nohup %s -c %s > /dev/null 2> %s & " % (
|
||||
binPath, self.cfgDir, asanDir)
|
||||
|
@ -457,7 +457,7 @@ class TDDnode:
|
|||
|
||||
if self.valgrind == 0:
|
||||
if self.asan:
|
||||
asanDir = "%s/sim/tsim/asan/dnode%d.asan" % (
|
||||
asanDir = "%s/sim/asan/dnode%d.asan" % (
|
||||
self.path, self.index)
|
||||
cmd = "nohup %s -c %s > /dev/null 2> %s & " % (
|
||||
binPath, self.cfgDir, asanDir)
|
||||
|
|
|
@ -15,7 +15,7 @@ else
|
|||
fi
|
||||
|
||||
TAOS_DIR=`pwd`
|
||||
LOG_DIR=$TAOS_DIR/sim/tsim/asan
|
||||
LOG_DIR=$TAOS_DIR/sim/asan
|
||||
|
||||
error_num=`cat ${LOG_DIR}/*.asan | grep "ERROR" | wc -l`
|
||||
memory_leak=`cat ${LOG_DIR}/*.asan | grep "Direct leak" | wc -l`
|
||||
|
|
|
@ -80,7 +80,7 @@ LOG_DIR=$NODE_DIR/log
|
|||
DATA_DIR=$NODE_DIR/data
|
||||
MGMT_DIR=$NODE_DIR/data/mgmt
|
||||
TSDB_DIR=$NODE_DIR/data/tsdb
|
||||
ASAN_DIR=$SIM_DIR/tsim/asan
|
||||
ASAN_DIR=$SIM_DIR/asan
|
||||
TAOS_CFG=$NODE_DIR/cfg/taos.cfg
|
||||
|
||||
echo ------------ $EXEC_OPTON $NODE_NAME
|
||||
|
|
|
@ -72,7 +72,7 @@ PRG_DIR=$SIM_DIR/tsim
|
|||
CFG_DIR=$PRG_DIR/cfg
|
||||
LOG_DIR=$PRG_DIR/log
|
||||
DATA_DIR=$PRG_DIR/data
|
||||
ASAN_DIR=$PRG_DIR/asan
|
||||
ASAN_DIR=$SIM_DIR/asan
|
||||
|
||||
chmod -R 777 $PRG_DIR
|
||||
echo "------------------------------------------------------------------------"
|
||||
|
|
|
@ -44,7 +44,7 @@ declare -x BUILD_DIR=$TOP_DIR/$BIN_DIR
|
|||
declare -x SIM_DIR=$TOP_DIR/sim
|
||||
PROGRAM=$BUILD_DIR/build/bin/tsim
|
||||
PRG_DIR=$SIM_DIR/tsim
|
||||
ASAN_DIR=$PRG_DIR/asan
|
||||
ASAN_DIR=$SIM_DIR/asan
|
||||
SYSTEM_TEST_DIR=$TOP_DIR/tests/system-test
|
||||
|
||||
chmod -R 777 $PRG_DIR
|
||||
|
|
Loading…
Reference in New Issue