ICU-6337 Change scripits to supply separate test file names to iotest for testing locales and timezones.
X-SVN-Rev: 24159
This commit is contained in:
parent
8b8e11bb47
commit
fd22341aab
@ -7,7 +7,7 @@ outfile=$1-locale.txt
|
||||
echo "" > $outfile
|
||||
for loc in `locale -a`; do
|
||||
echo LC_ALL=$loc >> $outfile
|
||||
LC_ALL=$loc make check >> $outfile 2>&1
|
||||
LC_ALL=$loc make check $2 >> $outfile 2>&1
|
||||
done
|
||||
|
||||
echo "Done testing $1 in all locales"
|
||||
|
@ -8,7 +8,7 @@ echo "" > $outfile
|
||||
for timezone in `locate /usr/share/zoneinfo/|fgrep -v /right/|fgrep -v /posix/`; do
|
||||
timezone=${timezone#/usr/share/zoneinfo/}
|
||||
echo TZ=$timezone >> $outfile
|
||||
TZ=$timezone make check >> $outfile 2>&1
|
||||
TZ=$timezone make check $2 >> $outfile 2>&1
|
||||
done
|
||||
|
||||
echo "Done testing $1 in all timezones"
|
||||
|
@ -6,14 +6,16 @@
|
||||
# machine (usually Linux), and runs the existing ICU4C tests to make sure that
|
||||
# the tests pass. Not everyone is using and testing ICU4C in the en_US locale
|
||||
# with the Pacific timezone.
|
||||
top_icu_dir=../../../icu
|
||||
#top_icu_dir=../../../icu
|
||||
top_icu_dir=../../../build/release
|
||||
release_tools_dir=../../../../tools/release/c
|
||||
cd $top_icu_dir/source/test/intltest
|
||||
#cd $top_icu_dir/source/test/intltest
|
||||
cd $top_icu_dir/test/intltest
|
||||
$release_tools_dir/allLocaleTest.sh intltest &
|
||||
$release_tools_dir/allTimezoneTest.sh intltest &
|
||||
cd ../iotest
|
||||
# iotest uses a fixed filename for tests, so can't run in parallel
|
||||
$release_tools_dir/allLocaleTest.sh iotest; $release_tools_dir/allTimezoneTest.sh iotest &
|
||||
$release_tools_dir/allLocaleTest.sh iotest IOTEST_OPTS=iotest-c-loc.txt &
|
||||
$release_tools_dir/allTimezoneTest.sh iotest IOTEST_OPTS=iotest-c-tz.txt &
|
||||
cd ../cintltst
|
||||
$release_tools_dir/allLocaleTest.sh cintltst &
|
||||
$release_tools_dir/allTimezoneTest.sh cintltst &
|
||||
|
Loading…
Reference in New Issue
Block a user