Skip to content

Commit

Permalink
feat: add basic runner for baolean/symexec-bench (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
karmacoma-eth committed Jul 21, 2023
1 parent 0b92223 commit fec4bba
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions benchmarks/baolean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env sh

GREEN='\033[0;32m'
NC='\033[0m' # No Color

if [ ! -d "symexec-bench" ]; then
echo "Cloning symexec-bench..."
git clone --depth 1 -b symtest --single-branch https://github.com/baolean/symexec-bench.git
else
echo "Using existing symexec-bench checkout"
fi

for test_name in "PostExampleTest" "PostExampleTwoTest" "PostExampleTwoLiveTest" "FooTest" "MiniVatTest"; do
echo
echo -e "▀▄▀▄▀▄ 🎀 Running ${GREEN}${test_name}${NC} 🎀 ▄▀▄▀▄▀"
time halmos --root symexec-bench/SymTest --contract ${test_name} "--function" test
done

0 comments on commit fec4bba

Please sign in to comment.