From 740b3dbee8ef034019b240dc4838b39dfa0c01e2 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 11 Jan 2013 07:14:18 -0800 Subject: Add --enable-hardcoded-path-in-tests configure option --- catgets/Makefile | 2 +- catgets/test-gencat.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'catgets') diff --git a/catgets/Makefile b/catgets/Makefile index 480ead9..205cda7 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 7f36ec0..69bdb54 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. -- cgit v1.1