mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 02:18:54 +00:00
18 lines
303 B
Bash
18 lines
303 B
Bash
_FILENAME=${0##*/}
|
|
CUR_DIR=${0/${_FILENAME}}
|
|
CUR_DIR=$(cd $(dirname ${CUR_DIR}); pwd)/$(basename ${CUR_DIR})/
|
|
|
|
pushd $CUR_DIR/..
|
|
|
|
APP=./minimp3_fuzz
|
|
|
|
set +e
|
|
for i in fuzz_out/crashes/*; do
|
|
$APP $i
|
|
retval=$?
|
|
echo $i exited with code=$retval
|
|
if [ ! $retval -eq 0 ]; then
|
|
exit 1
|
|
fi
|
|
done
|