From 6573e93b5441b83ca89fb1d0810d8dc9e1fe45a2 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Wed, 16 Nov 2022 12:52:47 +0800 Subject: [PATCH] fix: asan script error --- tests/script/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/script/test.sh b/tests/script/test.sh index b3a3b1d61a..e1db1c14de 100755 --- a/tests/script/test.sh +++ b/tests/script/test.sh @@ -7,7 +7,7 @@ ################################################## set +e -set -x +#set -x FILE_NAME= RELEASE=0 @@ -138,7 +138,8 @@ if [ -n "$FILE_NAME" ]; then $PROGRAM -c $CFG_DIR -f $FILE_NAME -v else echo "ExcuteCmd:" $PROGRAM -c $CFG_DIR -f $FILE_NAME - $PROGRAM -c $CFG_DIR -f $FILE_NAME 2> $ASAN_DIR/tsim.asan + echo "AsanDir:" $ASAN_DIR/tsim.asan + eval $PROGRAM -c $CFG_DIR -f $FILE_NAME 2> $ASAN_DIR/tsim.asan result=$? echo "Execute result: " $result -- GitLab