fuzzers: int_loop: exit on empty todo

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
This commit is contained in:
Karol Gugala 2019-03-04 15:33:58 +01:00
parent ca45656e5f
commit 59cff08be0
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