orchestra: pre-release WIP snapshot (orchestra-06g4wj9t4f35nzc4z8qqxm9z6g-8b4b8063)
This commit is contained in:
@@ -13,6 +13,7 @@ shebang_is_bash usage_text_mentions_every_flag"
|
||||
# name=ok / name=fail pairs, in run order.
|
||||
RESULTS=
|
||||
FAILED=0
|
||||
# TOTAL is the number of checks that ran, reported by --count.
|
||||
TOTAL=0
|
||||
|
||||
# record <name> <status>: append one outcome to the results state.
|
||||
@@ -102,6 +103,7 @@ main() {
|
||||
local summary=
|
||||
local timing=
|
||||
local strict=
|
||||
local count=
|
||||
local unknown=
|
||||
for arg in "$@"; do
|
||||
if [ "$arg" = --help ]; then
|
||||
@@ -123,6 +125,8 @@ main() {
|
||||
timing=1
|
||||
elif [ "$arg" = --strict ]; then
|
||||
strict=1
|
||||
elif [ "$arg" = --count ]; then
|
||||
count=1
|
||||
else
|
||||
[ -n "$unknown" ] || unknown=$arg
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user