[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/17] syntax-check: enable space-tab
From: |
Paolo Bonzini |
Subject: |
[PATCH 09/17] syntax-check: enable space-tab |
Date: |
Fri, 12 Mar 2010 18:49:10 +0100 |
* cfg.mk (local-checks-to-skip): Enable space-tab.
* .x-sc_space_tab: Add exceptions.
* tests/status.sh: Fix occurrence.
---
The dfa.c exception will go away later in the series.
The .diff exception should probably be built into maint.mk.
.x-sc_space_tab | 2 ++
cfg.mk | 1 -
tests/status.sh | 8 ++++----
3 files changed, 6 insertions(+), 5 deletions(-)
create mode 100644 .x-sc_space_tab
diff --git a/.x-sc_space_tab b/.x-sc_space_tab
new file mode 100644
index 0000000..be9bbd8
--- /dev/null
+++ b/.x-sc_space_tab
@@ -0,0 +1,2 @@
+\.diff$
+^src/dfa\.c$
diff --git a/cfg.mk b/cfg.mk
index d2347e1..5ccaf5e 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -23,7 +23,6 @@ gpg_key_ID = B9AB9A16
# Tests not to run as part of "make distcheck".
local-checks-to-skip = \
sc_prohibit_strcmp \
- sc_space_tab \
sc_useless_cpp_parens
# Tools used to bootstrap this package, used for "announcement".
diff --git a/tests/status.sh b/tests/status.sh
index a1e95bd..d6216d2 100755
--- a/tests/status.sh
+++ b/tests/status.sh
@@ -36,15 +36,15 @@ else
# should return 2 file not found
${GREP} -E -e 'abc' MMMMMMMM.MMM > /dev/null 2>&1
if test $? -ne 2 ; then
- echo "Status: Wrong status code, test \#3 failed"
- failures=1
+ echo "Status: Wrong status code, test \#3 failed"
+ failures=1
fi
# should return 2 file not found
${GREP} -E -s -e 'abc' MMMMMMMM.MMM > /dev/null 2>&1
if test $? -ne 2 ; then
- echo "Status: Wrong status code, test \#4 failed"
- failures=1
+ echo "Status: Wrong status code, test \#4 failed"
+ failures=1
fi
# should return 2 file not found
--
1.6.6
- Re: [PATCH 03/17] dfa: get rid of x*alloc, (continued)
- [PATCH 04/17] dfa: remove CRANGE dead code, Paolo Bonzini, 2010/03/12
- [PATCH 05/17] dfa, grep: cleanup if-before-free and cast-of-argument-to-free, Paolo Bonzini, 2010/03/12
- [PATCH 07/17] syntax-check: enable makefile-TAB-only-indentation, Paolo Bonzini, 2010/03/12
- [PATCH 06/17] grep: fix error-message-uppercase, Paolo Bonzini, 2010/03/12
- [PATCH 09/17] syntax-check: enable space-tab,
Paolo Bonzini <=
- [PATCH 08/17] syntax-check: enable m4-quote-check, Paolo Bonzini, 2010/03/12
- [PATCH 10/17] tests: add more UTF-8 test cases, Paolo Bonzini, 2010/03/12
- [PATCH 13/17] dfa: optimize simple character sets under UTF-8 charsets, Paolo Bonzini, 2010/03/12
- [PATCH 12/17] dfa: speed up handling of brackets, Paolo Bonzini, 2010/03/12
- [PATCH 11/17] dfa: rewrite handling of multibyte case folding, Paolo Bonzini, 2010/03/12
- [PATCH 14/17] dfa: cache MB_CUR_MAX for dfaexec, Paolo Bonzini, 2010/03/12
- [PATCH 15/17] dfa: run simple UTF-8 regexps as a single-byte character set, Paolo Bonzini, 2010/03/12