Sign in
pigweed
/
third_party
/
github
/
FreeRTOS
/
FreeRTOS-Kernel
/
9c0c37ab9b56f2c90085b78df2f58b5833e473db
/
.
/
FreeRTOS-Plus
/
Source
/
WolfSSL
/
valgrind-error.sh
blob: 7f7441c3e3dd63f6602dd2322f655aa239feb2e9 [
file
] [
log
] [
blame
]
#!/bin/sh
#
#
# Our valgrind "error" wrapper.
valgrind
--
leak
-
check
=
full
-
q
"$@"
2
>
valgrind
.
tmp
result
=
"$?"
# verify no errors
output
=
"`cat valgrind.tmp`"
if
[
"$output"
!=
""
];
then
cat valgrind
.
tmp
>&
2
result
=
1
fi
rm valgrind
.
tmp
exit $result