[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62357] [build] Test suite failure on macOS
From: |
G. Branden Robinson |
Subject: |
[bug #62357] [build] Test suite failure on macOS |
Date: |
Sun, 15 May 2022 05:23:22 -0400 (EDT) |
Follow-up Comment #5, bug #62357 (project groff):
[comment #3 comment #3:]
> Sorry for the slow response, I haven't been very good at getting onto the
computer [lately].
No worries. I have likewise been a bit slow to follow-up...
> I reran the tests without a LANG environment variable set. Strangely, none
of them failed; a few were skipped instead:
>
>
> # TOTAL: 115
> # PASS: 108
> # SKIP: 2
> # XFAIL: 5
> # FAIL: 0
> # XPASS: 0
> # ERROR: 0
>
This is pretty good news.
> The complete log is on PasteBin: https://pastebin.com/UUT0DrYP
>
> For the record, my LANG variable was set to `en_AU.UTF-8`. The rest of my
environment shouldn't be too problematic, but it's on GitHub should one need
it: https://github.com/Alhadis/.files/blob/master/env.sh
It would appear that the command "locale charmap" doesn't work on macOS
systems the way it does on Linux. Here are the commands from the relevant
tests that are causing the skips.
$ grep 77 src/roff/groff/tests/smoke-test_html_device.sh
test "$(locale charmap)" = UTF-8 || exit 77 # skip
$ grep -A2 -B8 77 src/devices/grotty/tests/basic_latin_glyphs_map_correctly.sh
# We can't test UTF-8 if the environment doesn't support it.
if [ "$(locale charmap)" != UTF-8 ]
then
# If we've already seen a failure case, report it.
if [ -n "$fail" ]
then
exit 1 # fail
else
exit 77 # skip
fi
fi
What does the command "locale charmap" produce on your system?
[comment #4 comment #4:]
> > getting onto the computer later.
>
> *lately, not later.
>
> (How does one edit comments on this site?)
You can't. :-/
Once a comment (or an "original submission") is sent, there's no changing it
without administrator assistance. And I mean Savannah admin, not mere project
admins like me.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62357>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62357] [build] Test suite failure on macOS, G. Branden Robinson, 2022/05/08
- [bug #62357] [build] Test suite failure on macOS, John Gardner, 2022/05/09
- [bug #62357] [build] Test suite failure on macOS, John Gardner, 2022/05/09
- [bug #62357] [build] Test suite failure on macOS,
G. Branden Robinson <=
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, G. Branden Robinson, 2022/05/15
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, John Gardner, 2022/05/15
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, Bjarni Ingi Gislason, 2022/05/17
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, Bjarni Ingi Gislason, 2022/05/17
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, G. Branden Robinson, 2022/05/19
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, John Gardner, 2022/05/19
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, G. Branden Robinson, 2022/05/19
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, G. Branden Robinson, 2022/05/20
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, G. Branden Robinson, 2022/05/20
- [bug #62357] [build] tests using "locale charmap" skipped on macOS, John Gardner, 2022/05/20