Was this run on a git checkout or distribution tarball?
You bring up a good question. If it's a git checkout I think it makes sense to run these since it may detect potential portability issues for Darwin hosts that are observable from Linux systems. It may also make sense to run some of these tests even in a distributed tarball if they are trying to detect cross-compilation issues from a Linux build system for Darwin hosts/targets.
To say for sure I'd need to look at the specific tests.
Overall it's a good question though and I'd like to understand more about why they're running because it's certainly possible that they should be skipped or that the test suite isn't detecting the build/host system properly.
Thanks for the report
URL:
<https://savannah.gnu.org/support/?110849>
Summary: make check darwin.at test fails on Linux
Group: GNU Libtool
Submitter: opensoftware
Submitted: Mon 06 Mar 2023 11:16:26 PM UTC
Category: None
Priority: 5 - Normal
Severity: 2 - Minor
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 06 Mar 2023 11:16:26 PM UTC By: open software <opensoftware>
make check
# all tests succeed but:
-----------------------------------------
[...]
161: darwin ld warnings changing configure results FAILED (darwin.at:230)
[...]
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: 150 tests were run,
6 failed (5 expected failures).
19 tests were skipped.
-----------------------------------------
Why are darwin/MacOS tests being run on Linux at all?
detection of operating system seems ok:
testsuite.log looks good:
-----------------------------------------
## --------- ##
## Platform. ##
## --------- ##
hostname = bonnie
uname -m = x86_64
uname -r = 4.15.0-153-generic
uname -s = Linux
uname -v = #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
-----------------------------------------
Sorry, if I missed any additional information that should be provided. This is
my first bug report here on savannah.gnu.org
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110849>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/