[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] tests: use init.sh consistently
From: |
Jim Meyering |
Subject: |
[PATCH 1/3] tests: use init.sh consistently |
Date: |
Wed, 07 Apr 2010 14:26:10 +0200 |
This makes init.sh test usage consistent, then pulls the latest
from gnulib to get the new rule that enforces that policy.
>From a8dc8e6f3ee449909ae655b8b67cd1743a6f9026 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 7 Apr 2010 14:07:04 +0200
Subject: [PATCH 1/3] tests: use init.sh consistently
* tests/euc-mb: Call "path_prepend_ ." on a line by itself,
and with a comment. This makes it so all of the srcdir/init.sh
lines are consistent, project-wide, and so that the addition of "."
to PATH for this test is properly documented.
* tests/sjis-mb: Likewise.
---
tests/euc-mb | 6 ++++--
tests/sjis-mb | 5 ++++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/tests/euc-mb b/tests/euc-mb
index 9994657..11350da 100644
--- a/tests/euc-mb
+++ b/tests/euc-mb
@@ -3,7 +3,10 @@
# too greedily.
# Derived from https://savannah.gnu.org/bugs/?23814
: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ . ../src
+. "$srcdir/init.sh"; path_prepend_ ../src
+
+# Add "." to PATH for the use of get-mb-cur-max.
+path_prepend_ .
locale=ja_JP.EUC-JP
@@ -16,7 +19,6 @@ euc_grep () {
LC_ALL=$locale grep "$pat"
}
-
case $(get-mb-cur-max $locale) in
2|3) ;;
*) skip_ 'EUC-JP locale not found' ;;
diff --git a/tests/sjis-mb b/tests/sjis-mb
index 07ef34c..02b95ce 100644
--- a/tests/sjis-mb
+++ b/tests/sjis-mb
@@ -4,7 +4,10 @@
# character, and a suffix of a valid double-byte character
: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ . ../src
+. "$srcdir/init.sh"; path_prepend_ ../src
+
+# Add "." to PATH for the use of get-mb-cur-max.
+path_prepend_ .
require_timeout_
--
1.7.1.rc0.212.gbd88f
>From 54dbe9d4ad1c701b456f5267e6065509060eff2b Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 7 Apr 2010 14:07:24 +0200
Subject: [PATCH 2/3] build: update gnulib submodule to latest
---
gnulib | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gnulib b/gnulib
index e995ac9..bfffe40 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit e995ac96ab3d7a78d2bfa4da08715038b3cbb662
+Subproject commit bfffe408f8b375fd0989266bd8c01580be26d1a8
--
1.7.1.rc0.212.gbd88f
>From 488112fc96510ab5e8940b350b3ae0f150a02ccb Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 7 Apr 2010 14:15:49 +0200
Subject: [PATCH 3/3] maint: tell git to ignore more build products
* .gitignore: Also ignore results of "make ID" and "make tags".
---
.gitignore | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index de560c7..18f58aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
.deps
/ABOUT-NLS
/GNUmakefile
+/ID
/INSTALL
/aclocal.m4
/autom4te.cache
@@ -55,3 +56,4 @@ ABOUT-NLS
ChangeLog
Makefile
Makefile.in
+TAGS
--
1.7.1.rc0.212.gbd88f
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 1/3] tests: use init.sh consistently,
Jim Meyering <=