Skip to content

Commit

Permalink
Build all including dafny
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasAlaif committed Dec 26, 2024
1 parent 435669f commit af2d33f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dafny/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd "$(dirname "$0")/dafny"

if [ ! -f Binaries/Dafny ]; then
if [ ! -f ./Binaries/Dafny ]; then
make
fi
2 changes: 1 addition & 1 deletion dafny/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mkdir -p "$(dirname "$OUT")"
cd "$(dirname "$0")/dafny"
# The file "git-issue-2134.dfy" produces a stack overflow with an insanely long
# stack trace. We don't want to see that, so we redirect stderr to /dev/null.
OUTPUT=$(Binaries/Dafny /deprecation:0 /compile:0 /timeLimit:$3 /print:$OUT.bpl /vcsCores:1 /proverLog:$OUT-@PROC@.smt2 "$1" 2> /dev/null)
OUTPUT=$(./Binaries/Dafny /deprecation:0 /compile:0 /timeLimit:$3 /print:$OUT.bpl /vcsCores:1 /proverLog:$OUT-@PROC@.smt2 "$1" 2> /dev/null)
if [ $? -eq 0 ]; then
exit 0
fi
Expand Down
1 change: 0 additions & 1 deletion make_smt2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ while read -r verifier; do
fi
echo "[.smt2] $VERIFIER/$no_prefix"
./run.sh "$file" "../smt2/$VERIFIER/$no_prefix" "${TIMEOUT:-10}" || exit 1
break # TODO: Remove this
done <<< "$(./tests.sh)"
done <<< "$VERIFIERS"

0 comments on commit af2d33f

Please sign in to comment.