Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] New helper script for listing XFail tests.



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



Messages sorted by: Reverse Date, Date, Thread, Author