2006-11-10 02:32:20 +00:00
|
|
|
#!/bin/sh
|
2008-06-10 21:02:28 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2006-2008 IBM All Rights Reserved
|
|
|
|
#
|
2006-11-10 02:32:20 +00:00
|
|
|
echo "Testing $1 in all locales"
|
|
|
|
outfile=$1-locale.txt
|
|
|
|
echo "" > $outfile
|
|
|
|
for loc in `locale -a`; do
|
|
|
|
echo LC_ALL=$loc >> $outfile
|
2008-06-12 01:02:39 +00:00
|
|
|
LC_ALL=$loc make check $2 >> $outfile 2>&1
|
2006-11-10 02:32:20 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
echo "Done testing $1 in all locales"
|
|
|
|
|