Skip to content
Snippets Groups Projects
Commit 66835cb7 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4733905 from 5ac26e09 to qt-release

Change-Id: I0d9b895389ee52f1c37ed50d6ac09f6c06b7b88a
parents 90d81c04 5ac26e09
Branches
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
# Abort on any error
# Global configuration
FUZZER_BASE="/data/nativetest64/fuzzers"
FUZZER_BASES=( "/data/nativetest64/fuzzers" "/data/nativetest/fuzzers" )
WORK_BASE="/data/local/tmp/fuzz"
LAST_FUZZ="$WORK_BASE/last_session"
......@@ -150,11 +150,11 @@ if [ -e $1 ]; then
FUZZER="$(basename $FUZZER_BIN)"
else
FUZZER="${1%_fuzzer}"
FUZZER_BIN="${FUZZER_BASE}/${OPT_ENGINE}/${FUZZER}_fuzzer"
if [ ! -e "$FUZZER_BIN" ]; then
die "Invalid fuzzer name ${FUZZER}: ($FUZZER_BIN does not exist)"
fi
for FUZZER_BASE in "${FUZZER_BASES[@]}"; do
FUZZER_BIN="${FUZZER_BASE}/${OPT_ENGINE}/${FUZZER}_fuzzer/${FUZZER}_fuzzer"
[ -e "$FUZZER_BIN" ] && break
done
fi
shift
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment