zsh-workers
 help / color / Atom feed
* [PATCH] New helper script for listing XFail tests.
@ 2020-01-12 22:40 Daniel Shahaf
  0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2020-01-12 22:40 UTC (permalink / raw)
  To: zsh-workers

---
It currently lists these:

% Test/list-XFails
Test/C03traps.ztst:895:-f:(workers/44007) function execution continues after 'exit' in trap
Test/D02glob.ztst:737:-f:unreadable directories can be globbed (users/24619, users/24626)
% 

It uses --color, which isn't in POSIX, but we can cross the portability
bridge when we come to it.

Cheers,

Daniel
(I'd still like to pick up and finish 44007…)

 Test/list-XFails | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100755 Test/list-XFails

diff --git a/Test/list-XFails b/Test/list-XFails
new file mode 100755
index 000000000..8d94a3d04
--- /dev/null
+++ b/Test/list-XFails
@@ -0,0 +1,5 @@
+#!/bin/sh
+# This script lists tests that are currently expected to fail.  (I.e., tests
+# for bugs that haven't been fixed yet.)
+
+grep --color -E -n '^[-0-9.dDqf]*f[-0-9.dDqf]*:' -- "$(dirname -- "$0")"/*.ztst

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-12 22:40 [PATCH] New helper script for listing XFail tests Daniel Shahaf

zsh-workers

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git