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_ciecho "Testing $1 in all locales" 92e5b6d6dSopenharmony_cioutfile=$1-locale.txt 102e5b6d6dSopenharmony_ciecho "" > $outfile 112e5b6d6dSopenharmony_cifor loc in `locale -a`; do 122e5b6d6dSopenharmony_ciecho LC_ALL=$loc >> $outfile 132e5b6d6dSopenharmony_ciLC_ALL=$loc make check $2 >> $outfile 2>&1 142e5b6d6dSopenharmony_cidone 152e5b6d6dSopenharmony_ci 162e5b6d6dSopenharmony_ciecho "Done testing $1 in all locales" 172e5b6d6dSopenharmony_ci 18