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
|
|
|
# This test script enumerates all locales and all timezones installed on a
|
|
|
|
# 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.
|
2008-06-12 01:16:43 +00:00
|
|
|
top_icu_dir=../../../icu
|
2006-11-10 02:32:20 +00:00
|
|
|
release_tools_dir=../../../../tools/release/c
|
2008-06-12 01:16:43 +00:00
|
|
|
cd $top_icu_dir/source/test/intltest
|
2006-11-10 02:32:20 +00:00
|
|
|
$release_tools_dir/allLocaleTest.sh intltest &
|
|
|
|
$release_tools_dir/allTimezoneTest.sh intltest &
|
|
|
|
cd ../iotest
|
2008-06-12 01:02:39 +00:00
|
|
|
$release_tools_dir/allLocaleTest.sh iotest IOTEST_OPTS=iotest-c-loc.txt &
|
|
|
|
$release_tools_dir/allTimezoneTest.sh iotest IOTEST_OPTS=iotest-c-tz.txt &
|
2006-11-10 02:32:20 +00:00
|
|
|
cd ../cintltst
|
|
|
|
$release_tools_dir/allLocaleTest.sh cintltst &
|
|
|
|
$release_tools_dir/allTimezoneTest.sh cintltst &
|
|
|
|
|
|
|
|
echo "All tests have been spawned."
|
|
|
|
echo "Please wait while the tests run. This may take a while."
|