test: preload libasan
This commit is contained in:
parent
c8f6235027
commit
d17dd17be4
|
@ -70,7 +70,14 @@ AsanFile=$ASAN_DIR/psim.asan
|
||||||
echo "AsanFile:" $AsanFile
|
echo "AsanFile:" $AsanFile
|
||||||
|
|
||||||
unset LD_PRELOAD
|
unset LD_PRELOAD
|
||||||
export LD_PRELOAD=libasan.so.5
|
#export LD_PRELOAD=libasan.so.5
|
||||||
|
#echo "export1:" $?
|
||||||
|
export LD_PRELOAD=`gcc -print-file-name=libasan.so`
|
||||||
|
echo "export2:" $?
|
||||||
|
|
||||||
|
echo "export4:" "$BUILD_DIR/build/bin/taos"
|
||||||
|
ldd $BUILD_DIR/build/bin/taos
|
||||||
|
|
||||||
$* -a 2> $AsanFile
|
$* -a 2> $AsanFile
|
||||||
|
|
||||||
unset LD_PRELOAD
|
unset LD_PRELOAD
|
||||||
|
|
Loading…
Reference in New Issue