Summary: NSProcessInfo -systemUptime test sometimes fails on
Submitted by: yavor
Submitted on: Sat 19 May 2018 12:55:21 PM EEST
Severity: 3 - Normal
Item Group: Bug
Assigned to: None
Discussion Lock: Any
On GNU/Hurd, procfs is optional -- the system works just as well without it.
Debian's hurd-i386 buildds are configured with procfs but for some reason from
time to time the test (as well as the configure test for procfs) fails. See
https://lists.debian.org/debian-hurd/2018/02/msg00017.html for details.
As this method is a no-op if neither procfs nor sysctlbyname are available I'd
suggest to not compile/run the test if these conditions are not met. Patch
Thanks, works for me. Sorry for missing Windows, I just wasn't careful
I see nothing wrong in making tests conditional based on defines; running the
testsuite assumes a configured tree. Besides, that is already done for some
tests that rely on ICU or libxml being available.