fix: asan script error
This commit is contained in:
parent
4b4f8eac86
commit
70f7d46bc7
|
@ -7,6 +7,7 @@
|
|||
##################################################
|
||||
|
||||
set +e
|
||||
#set -x
|
||||
|
||||
FILE_NAME=
|
||||
RELEASE=0
|
||||
|
@ -138,7 +139,14 @@ if [ -n "$FILE_NAME" ]; then
|
|||
else
|
||||
echo "ExcuteCmd:" $PROGRAM -c $CFG_DIR -f $FILE_NAME
|
||||
$PROGRAM -c $CFG_DIR -f $FILE_NAME 2> $ASAN_DIR/tsim.asan
|
||||
result=$?
|
||||
echo "Execute result: " $result
|
||||
|
||||
if [ $result -eq 0 ]; then
|
||||
$CODE_DIR/sh/checkAsan.sh
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo "ExcuteCmd:" $PROGRAM -c $CFG_DIR -f basicSuite.sim
|
||||
|
|
Loading…
Reference in New Issue