[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
anomalies during "make test"
From: |
martin |
Subject: |
anomalies during "make test" |
Date: |
Fri, 27 Oct 2023 12:50:46 +1000 |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2
uname output: Linux treehug.home.kurahaupo.gen.nz 5.15.0-73-generic #80-Ubuntu
SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.2
Patch Level: 0
Release Status: rc4
Description:
The following tests produce unexpected output during "make test".
These definitely appear to indicate bugs:
run-execscript (the bashdb directory isn't created during test
installation, so debugger can't run)
run-read (too few characters read)
run-redir (reports "bad N")
This is a bug in the test, rather than in bash:
run-type (incorrectly assumes "m" does not exist in $PATH)
These are just because I don't have the relevant locales installed:
run-glob-test
run-intl (and the number of tests differs)
I've edited the output of "make test" to highlight the issues and to redact
personal information.
$ configure --prefix=$HOME/lib/perl/$( git log -n1 --format=%H )
⦠lots of output â¦
$ make test |&
sed "s#$PWD#\$SRC#g
s#$HOME#~#g" |
grep "$info_about_anomalous_tests" # actually edit manually
⦠build parameters, bash version, etc, then some tests â¦
run-execscript
⦠warning â¦
63,64d62
< bash:
~/lib/bash/9cef6d01181525de119832d2b6a925899cdec08e/share/bashdb/bashdb-main.inc:
No such file or directory
< bash: warning: cannot start debugger; debugging mode disabled
⦠other tests â¦
run-glob-test
2,3d1
< glob2.sub: warning: you do not have the zh_HK.big5hkscs locale
installed;
< glob2.sub: warning: that will cause some of these tests to fail.
9d6
< ./glob2.sub: line 44: warning: setlocale: LC_ALL: cannot change
locale (zh_HK.big5hkscs): No such file or directory
11c8
< argv[1] = <AαB>
---
> argv[1] = <A�\B>
14,15c11,12
< argv[1] = <aαb>
< 0000000 141 316 261 142
---
> argv[1] = <a�\b>
> 0000000 141 243 134 142
18,19d14
< ./glob2.sub: line 65: warning: setlocale: LC_ALL: cannot change
locale (zh_HK.big5hkscs)
< $SRC/bash: warning: setlocale: LC_ALL: cannot change locale
(zh_HK.big5hkscs)
⦠other tests â¦
run-intl
intl2.sub: warning: you do not have the de_DE.UTF-8 locale installed;
intl2.sub: that will cause some of these tests to fail.
unicode1.sub: warning: you do not have the fr_FR.ISO8859-1 locale
installed;
unicode1.sub: that will cause some of these tests to be skipped.
unicode1.sub: warning: you do not have the ja_JP.SJIS locale installed;
unicode1.sub: that will cause some of these tests to be skipped.
13a14
> 1,0000
18,19c19
< 1.0000
< 1.0000
---
> 1,0000
24c24
< Passed all 998 Unicode tests
---
> Passed all 1378 Unicode tests
⦠other tests â¦
run-read
warning: please do not consider output differing only in the amount of
warning: white space to be an error.
47c47
< abc
---
> abcde
80c80
< abcd
---
> abcde
run-redir
⦠warning â¦
157,158d156
< redir11 bad 5
< redir11 bad 6
⦠other tests â¦
run-type
27,29c27
< file
< m is ~/bin/m
< ~/bin/m
---
> ./type.tests: line 56: type: m: not found
43c41
< m is ~/bin/m
---
> ./type.tests: line 80: type: m: not found
⦠other tests â¦
Repeat-By:
configure --prefix=$HOME/lib/perl/$( git log -n1 --format=%H )
make test |& sed "s#$PWD#\$SRC#g; s#$HOME#~#g" | grep -v
"$stuff_that_is_not_interesting"
Fix:
To fix the trivial errors, I could modify PATH to exclude "m", and
install the de_DE.UTF-8, fr_FR.ISO8859-1, ja_JP.SJIS, and
zh_HK.big5hkscs locales.
- anomalies during "make test",
martin <=