Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add basic runner for baolean/symexec-bench #135

Merged
merged 1 commit into from
Jul 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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