diff options
| author | romir kulshrestha <romir.kulshrestha@gmail.com> | 2026-03-05 14:47:01 +0100 |
|---|---|---|
| committer | romir kulshrestha <romir.kulshrestha@gmail.com> | 2026-03-06 12:21:18 +0100 |
| commit | 8b7956b965147407274f062799200db54eb50d3b (patch) | |
| tree | 4eb60b9434ed504e3eef0650cb6b90ffcbdc1b8c /run.zsh | |
| parent | 6826cf0be1816a8320835ab315d46063dc746aac (diff) | |
run script
Diffstat (limited to 'run.zsh')
| -rwxr-xr-x | run.zsh | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#!/usr/bin/env bash +set -uo pipefail + +BINARY=./target/debug/oryx +COUNT=${COUNT:-100} + +success=0 +fail=0 + +for ((i=1; i<=COUNT; i++)); do + printf '%3d: ' "$i" + if "$BINARY" "$@"; then + echo success + ((success++)) + else + echo fail + ((fail++)) + fi +done + +echo "Done: $success succeeded, $fail failed"
\ No newline at end of file |