Closed pemensik closed 1 year ago
Commenting line with speed passes tests on all platforms.
Sorry for the late reply, I was on vacation.
Yeah, tests are known to fail on some platforms. That's due to libuv
that only supports some functionalities on some platforms.
Since uvw
is literally a wrapper around libuv
, the goal has never been to test the underlying library. Therefore, we kindly ignored these failures and run a sort of functional tests only on some platforms.
Could be checking of non-zero test of cpu speed removed, when it is known to be zero on some platforms? Could be just sufficient test speed >= 0? I could not find even what units it uses in documentation, I doubt that number means anything significant.
Mmm actually it could make sense. We don't really want to test the result but only the fact that it works. That is, we want to check that it correctly forwards the request to the underlying library.
I'm closing this issue as starving. Feel free to open a new one if the problem persists with the upstream version of uvw
. Thanks.
Hi, I have attempted to prepare a RPM Fedora package of this library. I enabled building of tests. My test build failed on few platforms: armv7hl s390x ppc64le. But it passed fine on more common platforms: i686 x86_64 aarch64.
Temporary build link (would be gone in few days): https://koji.fedoraproject.org/koji/taskinfo?taskID=74293472
Would you know if it needs fixing? Should be speed always non-zero?