chore(tests/lean/interactive/test_single): ignore progress responses

This commit is contained in:
Sebastian Ullrich 2016-12-27 16:16:00 +01:00 committed by Leonardo de Moura
parent 33ec940604
commit b10ebade8c

View file

@ -32,7 +32,7 @@ echo "-- testing $f"
OUTPUT="$("$LEAN" -j0 -D pp.unicode=true --server < "$f")"
# make paths system-independent
if [[ "$OSTYPE" == "msys" ]]; then
echo "$OUTPUT" | sed "s|$ROOT_PATH_NORMALIZED||g" | sed 's|\\\\|/|g' > "$f.produced.out"
echo "$OUTPUT" | grep -v '"response":"current_tasks"' | sed "s|$ROOT_PATH_NORMALIZED||g" | sed 's|\\\\|/|g' > "$f.produced.out"
else
OUTPUT=${OUTPUT//$ROOT_PATH_NORMALIZED/}
echo "$OUTPUT" > "$f.produced.out"