mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix run_proofs script to actually run proofs
This commit is contained in:
parent
c71fb76bb2
commit
c3ccce9745
@ -2,15 +2,17 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
(
|
||||||
REPO_ROOT="$(dirname "$0")"/..
|
REPO_ROOT="$(dirname "$0")"/..
|
||||||
|
cd "$REPO_ROOT"
|
||||||
|
|
||||||
git fetch origin
|
git fetch origin
|
||||||
error=0
|
error=0
|
||||||
for new_proof in $(git diff develop --name-only $REPO_ROOT/test/formal/)
|
for new_proof in $(git diff origin/develop --name-only test/formal/)
|
||||||
do
|
do
|
||||||
set +e
|
set +e
|
||||||
echo "Proving $new_proof..."
|
echo "Proving $new_proof..."
|
||||||
output=$(python "$REPO_ROOT/$new_proof")
|
output=$(python "$new_proof")
|
||||||
result=$?
|
result=$?
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@ -27,3 +29,4 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
exit $error
|
exit $error
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user