Merge pull request #693 from antmicro/empty-todo

fuzzers: int_loop: exit on empty todo
This commit is contained in:
litghost 2019-03-04 08:56:38 -08:00 committed by GitHub
commit 7bec867689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ i=1
while true; do
${MAKE} ITER=$i cleaniter
${MAKE} ITER=$i build/todo.txt
if [ ! -s build/todo.txt -a $i -eq 1 ]; then
echo "Empty TODO file, assuming all the ints were already solved!"
exit 0
fi
if python3 ${XRAY_DIR}/fuzzers/int_loop_check.py $check_args ; then
break
fi