12e5b6d6dSopenharmony_ci#!/bin/sh
22e5b6d6dSopenharmony_ci#
32e5b6d6dSopenharmony_ci# Copyright (C) 2017 and later: Unicode, Inc. and others.
42e5b6d6dSopenharmony_ci# License & terms of use: http://www.unicode.org/copyright.html
52e5b6d6dSopenharmony_ci#
62e5b6d6dSopenharmony_ci# Copyright (c) 2006-2008 IBM All Rights Reserved
72e5b6d6dSopenharmony_ci#
82e5b6d6dSopenharmony_ci# This test script enumerates all locales and all timezones installed on a
92e5b6d6dSopenharmony_ci# machine (usually Linux), and runs the existing ICU4C tests to make sure that
102e5b6d6dSopenharmony_ci# the tests pass. Not everyone is using and testing ICU4C in the en_US locale
112e5b6d6dSopenharmony_ci# with the Pacific timezone.
122e5b6d6dSopenharmony_citop_icu_dir=../../../icu4c
132e5b6d6dSopenharmony_cirelease_tools_dir=../../../../tools/release/c
142e5b6d6dSopenharmony_cicd $top_icu_dir/source/test/intltest
152e5b6d6dSopenharmony_ci$release_tools_dir/allLocaleTest.sh intltest &
162e5b6d6dSopenharmony_ci$release_tools_dir/allTimezoneTest.sh intltest &
172e5b6d6dSopenharmony_cicd ../iotest
182e5b6d6dSopenharmony_ci$release_tools_dir/allLocaleTest.sh iotest IOTEST_OPTS=iotest-c-loc.txt &
192e5b6d6dSopenharmony_ci$release_tools_dir/allTimezoneTest.sh iotest IOTEST_OPTS=iotest-c-tz.txt &
202e5b6d6dSopenharmony_cicd ../cintltst
212e5b6d6dSopenharmony_ci$release_tools_dir/allLocaleTest.sh cintltst &
222e5b6d6dSopenharmony_ci$release_tools_dir/allTimezoneTest.sh cintltst &
232e5b6d6dSopenharmony_ci
242e5b6d6dSopenharmony_ciecho "All tests have been spawned."
252e5b6d6dSopenharmony_ciecho "Please wait while the tests run. This may take a while."
26