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