]>
Commit | Line | Data |
---|---|---|
316518d6 UD |
1 | #! /bin/sh |
2 | # Testing the implementation of the mb*towc*() and wc*tomb*() functions. | |
57c69bef | 3 | # Copyright (C) 2000-2012 Free Software Foundation, Inc. |
316518d6 | 4 | # This file is part of the GNU C Library. |
41bdb6e2 | 5 | |
316518d6 | 6 | # The GNU C Library is free software; you can redistribute it and/or |
41bdb6e2 AJ |
7 | # modify it under the terms of the GNU Lesser General Public |
8 | # License as published by the Free Software Foundation; either | |
9 | # version 2.1 of the License, or (at your option) any later version. | |
10 | ||
316518d6 UD |
11 | # The GNU C Library is distributed in the hope that it will be useful, |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
41bdb6e2 AJ |
14 | # Lesser General Public License for more details. |
15 | ||
16 | # You should have received a copy of the GNU Lesser General Public | |
59ba27a6 PE |
17 | # License along with the GNU C Library; if not, see |
18 | # <http://www.gnu.org/licenses/>. | |
316518d6 | 19 | |
57c69bef DL |
20 | set -e |
21 | ||
316518d6 | 22 | common_objpfx=$1; shift |
9f835f5f | 23 | run_program_prefix=$1; shift |
316518d6 | 24 | |
316518d6 UD |
25 | status=0 |
26 | ||
27 | # Run the test programs. | |
28 | LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ | |
9f835f5f | 29 | ${run_program_prefix} ${common_objpfx}localedata/tst-mbswcs1 \ |
316518d6 UD |
30 | > ${common_objpfx}localedata/tst-mbswcs.out || status=1 |
31 | ||
1da6cab2 | 32 | LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ |
9f835f5f | 33 | ${run_program_prefix} ${common_objpfx}localedata/tst-mbswcs2 \ |
1da6cab2 UD |
34 | >> ${common_objpfx}localedata/tst-mbswcs.out || status=1 |
35 | ||
3c5adb76 | 36 | LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ |
9f835f5f | 37 | ${run_program_prefix} ${common_objpfx}localedata/tst-mbswcs3 \ |
3c5adb76 UD |
38 | >> ${common_objpfx}localedata/tst-mbswcs.out || status=1 |
39 | ||
d4134450 | 40 | LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ |
9f835f5f | 41 | ${run_program_prefix} ${common_objpfx}localedata/tst-mbswcs4 \ |
d4134450 UD |
42 | >> ${common_objpfx}localedata/tst-mbswcs.out || status=1 |
43 | ||
44 | LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ | |
9f835f5f | 45 | ${run_program_prefix} ${common_objpfx}localedata/tst-mbswcs5 \ |
d4134450 UD |
46 | >> ${common_objpfx}localedata/tst-mbswcs.out || status=1 |
47 | ||
316518d6 | 48 | exit $status |