zsh-workers
 help / color / mirror / code / 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, other threads:[~2020-01-12 22:41 UTC | newest]

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

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).