[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 23/34] tests: make fmbtest explain (to stderr, not log) why it is
From: |
Jim Meyering |
Subject: |
[PATCH 23/34] tests: make fmbtest explain (to stderr, not log) why it is skipped |
Date: |
Thu, 15 Sep 2011 12:28:06 +0200 |
From: Jim Meyering <address@hidden>
* tests/fmbtest: Use skip_ and fail_ to give better diagnostics.
---
tests/fmbtest | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/fmbtest b/tests/fmbtest
index b07d19d..4e4ee89 100755
--- a/tests/fmbtest
+++ b/tests/fmbtest
@@ -16,9 +16,9 @@ LC_ALL=$cz locale -k LC_CTYPE 2>/dev/null | grep -q
charmap.*UTF-8 \
# If matching is done in single-byte mode, skip this test too
printf 'é\n' | LC_ALL=$cz grep -Eq '^[é]{2}$'
case $? in
- 0) skip_test_ this test works only in multibyte mode;;
+ 0) skip_ "built without multi-byte support";;
1) ;;
- *) framework_failure_ grep exited with unexpected status $? ;;
+ *) fail_ "unexpected exit status: $?";;
esac
failures=0
--
1.7.7.rc0.362.g5a14
- Re: [PATCH 16/34] maint: dfa: convert #if-MBS_SUPPORT (copytoks), (continued)
- [PATCH 17/34] maint: dfa: convert #if-MBS_SUPPORT (dfaparse), Jim Meyering, 2011/09/15
- [PATCH 14/34] maint: dfa: convert #if-MBS_SUPPORT (parse_bracket_exp), Jim Meyering, 2011/09/15
- [PATCH 18/34] maint: dfa: convert #if-MBS_SUPPORT (state_index), Jim Meyering, 2011/09/15
- [PATCH 28/34] maint: dfa: avoid in-function "#if MBS_SUPPORT" tests, Jim Meyering, 2011/09/15
- [PATCH 03/34] maint: convert #if-MBS_SUPPORT (kwsincr_case), Jim Meyering, 2011/09/15
- [PATCH 33/34] maint: dfa: simplify multi-byte-related conditionals, Jim Meyering, 2011/09/15
- [PATCH 25/34] maint: remove #if MBS_SUPPORT around member declaration, Jim Meyering, 2011/09/15
- [PATCH 12/34] maint: dfa: convert #if-MBS_SUPPORT (parse_bracket_exp), Jim Meyering, 2011/09/15
- [PATCH 23/34] tests: make fmbtest explain (to stderr, not log) why it is skipped,
Jim Meyering <=
- [PATCH 31/34] tests: skip sjis-mb when dfa.c is compiled without MB support, Jim Meyering, 2011/09/15
- [PATCH 20/34] maint: dfa: convert #if-MBS_SUPPORT (dfastate), Jim Meyering, 2011/09/15
- [PATCH 24/34] maint: dfa: remove #if MBS_SUPPORT around struct definition, Jim Meyering, 2011/09/15