src/HOL/TPTP/lib/Tools/tptp_nitpick
changeset 64561 a7664ca9ffc5
parent 62634 aa3b47b32100
equal deleted inserted replaced
64560:c48becd96398 64561:a7664ca9ffc5
    22 SCRATCH="Scratch_${PRG}_$$_${RANDOM}"
    22 SCRATCH="Scratch_${PRG}_$$_${RANDOM}"
    23 
    23 
    24 TIMEOUT=$1
    24 TIMEOUT=$1
    25 shift
    25 shift
    26 
    26 
    27 isabelle build -b HOL-TPTP
    27 isabelle build -b HOL-TPTP 2>&1 | grep --line-buffered -v "elapsed time$"
    28 
    28 
    29 for FILE in "$@"
    29 for FILE in "$@"
    30 do
    30 do
    31   echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \
    31   echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \
    32 ML {* ATP_Problem_Import.nitpick_tptp_file @{theory} ($TIMEOUT) \"$FILE\" *} end" \
    32 ML {* ATP_Problem_Import.nitpick_tptp_file @{theory} ($TIMEOUT) \"$FILE\" *} end" \
    33     > /tmp/$SCRATCH.thy
    33     > /tmp/$SCRATCH.thy
    34   isabelle process -e "use_thy \"/tmp/$SCRATCH\"; exit 1;" -l HOL-TPTP | grep --line-buffered -v "^###\|^PROOF FAILED for depth\|^Failure node\|inferences so far.  Searching to depth\|^val \|^Loading theory\|^Warning-The type of\|^   monotype.$"
    34   isabelle process -e "use_thy \"/tmp/$SCRATCH\"; exit 1;" -l HOL-TPTP | grep --line-buffered -v "^###\|^PROOF FAILED for depth\|^Failure node\|inferences so far.  Searching to depth\|^val \|^Loading theory\|^poly.*warning: The type of\|^   monotype.$"
    35 done
    35 done