Clean up localedata/tst-wctype.sh to match how it is called.

This commit is contained in:
Jim Blandy 2012-10-19 19:59:34 +00:00 committed by Joseph Myers
parent 38c7829650
commit 3c97f6525f
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2012-10-19 Jim Blandy <jimb@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* localedata/tst-wctype.sh (run_program_prefix): Remove variable.
(tst_wctype): New variable. Use it directly to run test program
instead of passing test program name as argument.
2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
[BZ #14716]

View File

@ -20,12 +20,11 @@
set -e
common_objpfx=$1
run_program_prefix=$2
tst_wctype=$2
# Run the test program.
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
LC_ALL=ja_JP.EUC-JP ${run_program_prefix} \
${common_objpfx}localedata/tst-wctype < tst-wctype.input \
LC_ALL=ja_JP.EUC-JP ${tst_wctype} < tst-wctype.input \
> ${common_objpfx}localedata/tst-wctype.out
exit $?