test:print error message in ci of address sanitizer test
This commit is contained in:
parent
8f7f40f75d
commit
69b2c9feca
|
@ -89,8 +89,8 @@ else
|
|||
export LD_PRELOAD="$(realpath "$(gcc -print-file-name=libasan.so)") $(realpath "$(gcc -print-file-name=libstdc++.so)")"
|
||||
echo "Preload AsanSo:" $?
|
||||
|
||||
$* -a 2>$AsanFile
|
||||
|
||||
$* -a 2> $AsanFile
|
||||
cat $AsanFile
|
||||
unset LD_PRELOAD
|
||||
for ((i = 1; i <= 20; i++)); do
|
||||
AsanFileLen=$(cat $AsanFile | wc -l)
|
||||
|
|
Loading…
Reference in New Issue