diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-16 07:30:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-16 07:30:42 +0000 |
commit | ca41028b16eab254278ae8ed6b0a0998ea21d0c7 (patch) | |
tree | 698c16208a2710404aed18f3f84480fb1a7b8966 /localedata/tst-fmon.sh | |
parent | e0ea35a3f764a11cf9fc8389f128e5acad09cb17 (diff) | |
download | glibc-ca41028b16eab254278ae8ed6b0a0998ea21d0c7.tar glibc-ca41028b16eab254278ae8ed6b0a0998ea21d0c7.tar.gz glibc-ca41028b16eab254278ae8ed6b0a0998ea21d0c7.tar.bz2 glibc-ca41028b16eab254278ae8ed6b0a0998ea21d0c7.zip |
Update.
2000-07-16 Ulrich Drepper <drepper@redhat.com>
* Makefile: Rewrite rules for tests to run them only when necessary.
* sort-test.sh: Produce output for failed tests.
* tst-fmon.sh: Likewise.
* tst-rpmatch.sh: Likewise.
Diffstat (limited to 'localedata/tst-fmon.sh')
-rwxr-xr-x | localedata/tst-fmon.sh | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/localedata/tst-fmon.sh b/localedata/tst-fmon.sh index 99c5cc6801..b9df5a80e8 100755 --- a/localedata/tst-fmon.sh +++ b/localedata/tst-fmon.sh @@ -19,11 +19,6 @@ # not, write to the Free Software Foundation, Inc., # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -DEBUG=0 -case $1 in --d) DEBUG=1; shift ;; -esac - common_objpfx=$1 run_program_prefix=$2 datafile=$3 @@ -51,16 +46,11 @@ while IFS=" " read locale format value expect; do ${run_program_prefix} ${common_objpfx}localedata/tst-fmon \ "$locale" "$format" "$value" "$expect" if [ $? -eq 0 ]; then - if [ $DEBUG -eq 1 ]; then - echo "Locale: \"${locale}\" Format: \"${format}\"" \ - "Value: \"${value}\" Expect: \"${expect}\" passed" - fi + echo "Locale: \"${locale}\" Format: \"${format}\"" \ + "Value: \"${value}\" Expect: \"${expect}\" passed" else echo "Locale: \"${locale}\" Format: \"${format}\"" \ "Value: \"${value}\" Expect: \"${expect}\" failed" - if [ $DEBUG -eq 0 ]; then - exit 1 - fi fi fi done < $datafile |