Files
SDK_STM32F302x/kernel/FreeRTOS-Plus/ThirdParty/wolfSSL/valgrind-error.sh
gaoyang3513 a345df017b [修改] 增加freeRTOS
1. 版本FreeRTOSv202212.01,命名为kernel;
2023-05-06 16:43:01 +00:00

25 lines
289 B
Bash
Executable File

#!/bin/sh
#
#
# Our valgrind "error" wrapper.
TMP="valgrind.tmp.$$"
valgrind --suppressions=valgrind-bash.supp --leak-check=full -q "$@" 2> $TMP
result="$?"
# verify no errors
output="`cat $TMP`"
if [ "$output" != "" ]; then
cat $TMP >&2
result=1
fi
rm $TMP
exit $result