diff options
Diffstat (limited to 'Test/ztst.zsh')
-rwxr-xr-x | Test/ztst.zsh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/ztst.zsh b/Test/ztst.zsh index fb81be0ad..a4166f955 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -107,6 +107,9 @@ ZTST_verbose() { shift [[ -n $ZTST_verbose && $ZTST_verbose -ge $lev ]] && print -- $* >&8 } +ZTST_hashmark() { + [[ ZTST_verbose -le 0 && -t 8 ]] && print -nu8 ${(pl:SECONDS::\#::\#\r:)} +} [[ ! -r $ZTST_testname ]] && ZTST_testfailed "can't read test file." @@ -292,6 +295,7 @@ $ZTST_curline" # If we found some code to execute... if [[ -n $ZTST_code ]]; then + ZTST_hashmark ZTST_verbose 1 "Running test: $ZTST_message" ZTST_verbose 2 "ZTST_test: expecting status: $ZTST_xstatus" |