summaryrefslogtreecommitdiff
path: root/catgets
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-11 07:14:18 -0800
committerH.J. Lu <hjl.tools@gmail.com>2013-01-11 07:14:18 -0800
commit740b3dbee8ef034019b240dc4838b39dfa0c01e2 (patch)
tree6b4caa77b597058c873bd5df2e0f7a859327c90a /catgets
parentc6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda (diff)
Add --enable-hardcoded-path-in-tests configure option
Diffstat (limited to 'catgets')
-rw-r--r--catgets/Makefile2
-rwxr-xr-xcatgets/test-gencat.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/catgets/Makefile b/catgets/Makefile
index 480ead9057..205cda7a73 100644
--- a/catgets/Makefile
+++ b/catgets/Makefile
@@ -75,7 +75,7 @@ $(objpfx)de.msg: xopen-msg.awk $(..)po/de.po
$(objpfx)test-gencat.out: test-gencat.sh $(objpfx)test-gencat \
$(objpfx)sample.SJIS.cat
- $(SHELL) $< $(common-objpfx) '$(built-program-cmd)'
+ $(SHELL) $< $(common-objpfx) '$(test-program-cmd)'
$(objpfx)sample.SJIS.cat: sample.SJIS $(objpfx)gencat
GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
diff --git a/catgets/test-gencat.sh b/catgets/test-gencat.sh
index 7f36ec0e88..69bdb54e99 100755
--- a/catgets/test-gencat.sh
+++ b/catgets/test-gencat.sh
@@ -20,12 +20,12 @@
set -e
common_objpfx=$1
-run_program_cmd=$2
+test_program_cmd=$2
# Run the test program.
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
NLSPATH=${common_objpfx}catgets/%N.%c.cat LC_ALL=ja_JP.SJIS \
- ${run_program_cmd} \
+ ${test_program_cmd} \
> ${common_objpfx}catgets/test-gencat.out
# Compare with the expected result.