* PATCH: Still more feedback during tests
@ 2001-03-30 7:00 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2001-03-30 7:00 UTC (permalink / raw)
To: zsh-workers
Another obfuscated zsh contest entry. Apply this patch and then run
`make check TESTNUM=54' to get the best look at the results.
Index: Test/ztst.zsh
===================================================================
--- Test/ztst.zsh 2001/03/29 05:33:50 1.12
+++ Test/ztst.zsh 2001/03/30 06:53:42
@@ -107,6 +107,9 @@
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 @@
# 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"
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-30 7:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-30 7:00 PATCH: Still more feedback during tests Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).