int_loop: mv todo build/todo

Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
John McMaster 2018-12-19 17:05:20 -08:00
parent 4769f0b09b
commit b568052d9d
12 changed files with 10 additions and 11 deletions

View File

@ -1,3 +1,2 @@
build
run.ok
todo

View File

@ -57,8 +57,12 @@ build/todo.txt: build/pips_int_l.txt $(XRAY_DIR)/fuzzers/int_maketodo.py
python3 $(XRAY_DIR)/fuzzers/int_maketodo.py --db-dir build $(MAKETODO_FLAGS) |sort >build/todo_all.txt
cat build/todo_all.txt | sort -R > build/todo.txt.tmp
mv build/todo.txt.tmp build/todo.txt
# Per iter files
mkdir -p build/$(ITER)
cp build/todo_all.txt build/todo.txt build/$(ITER)/
# All in one dir for easier trending
mkdir -p build/todo
cp build/todo_all.txt build/todo.txt build/todo/
# XXX: conider moving to script
run:

View File

@ -1,3 +1,2 @@
build
run.ok
todo

View File

@ -1,3 +1,2 @@
build
run.ok
todo

View File

@ -1,3 +1,2 @@
build
run.ok
todo

View File

@ -1,3 +1,2 @@
build
run.ok
todo

View File

@ -1,3 +1,2 @@
build
run.ok
todo

View File

@ -1,3 +1,2 @@
build
run.ok
todo

View File

@ -1,3 +1,2 @@
build
run.ok
todo

View File

@ -54,8 +54,12 @@ build/todo.txt: build/$(PIP_TYPE)_l.txt $(XRAY_DIR)/fuzzers/int_maketodo.py
python3 $(XRAY_DIR)/fuzzers/int_maketodo.py --pip-type $(PIP_TYPE) $(MAKETODO_FLAGS) |sort >build/todo_all.txt
cat build/todo_all.txt | sort -R | head -n$(TODO_N) > build/todo.txt.tmp
mv build/todo.txt.tmp build/todo.txt
# Per iter files
mkdir -p build/$(ITER)
cp build/todo_all.txt build/todo.txt build/$(ITER)/
# All in one dir for easier trending
mkdir -p build/todo
cp build/todo_all.txt build/todo.txt build/todo/
# XXX: conider moving to script
run:

View File

@ -46,7 +46,6 @@ fi
set -ex
MAKE=${MAKE:-make}
echo $MAKE
mkdir -p todo;
i=1
while true; do
${MAKE} ITER=$i cleanprj
@ -54,7 +53,7 @@ while true; do
if python3 ${XRAY_DIR}/fuzzers/int_loop_check.py $check_args ; then
break
fi
if [ -f todo/timeout ] ; then
if [ -f build/todo/timeout ] ; then
echo "ERROR: timeout"
exit 1
fi

View File

@ -120,7 +120,7 @@ def main():
)
parser.add_argument('--verbose', action='store_true', help='')
parser.add_argument('--todo-dir', default="todo", help='')
parser.add_argument('--todo-dir', default="build/todo", help='')
parser.add_argument(
'--min-iters', default=None, help='Minimum total number of iterations')
parser.add_argument(