Comments (7)
I'd be okay with just running uv_run_tests_a for now, that's already a step up from the status quo.
Failing tests: I'm not surprised. Best would be to investigate on a case-by-case basis whether to fix the test or to skip it; see the RETURN_SKIP macro.
Sounds good. Will check it.
from libuv.
Hey @bnoordhuis . I started studying libuv source code to understand more about IO in lower levels. Even though I'm still a newbie I'd like to try some issues in this nice project.
Would you have any advice for me to start working on this issue?
from libuv.
@geeksilva97 a good first step is to try to get the test suite to run (and pass) on android. The file you're looking for is .github/workflows/CI-unix.yml
from libuv.
Hello @bnoordhuis . I could get the emulator running but when I try to run execute tests I got a link error
CANNOT LINK EXECUTABLE "/data/local/tmp/build/uv_run_tests": library "libuv.so" not found
Here's what I did:
adb push build /data/local/tmp
adb shell ls -R /data/local/tmp # debugging purposes
adb shell /data/local/tmp/build/uv_run_tests
Files are copied as expected. I can see the libuv.so
in the build
folder inside of the emulator. But it can't execute. Would you have a suggestion?
Is there a way - if feasible - we can statically build uv_run_tests
for Android?
(I'm not that familiar with CMake yet)
from libuv.
Hello @bnoordhuis . I could get the emulator running but when I try to run execute tests I got a link error
CANNOT LINK EXECUTABLE "/data/local/tmp/build/uv_run_tests": library "libuv.so" not found
Here's what I did:
adb push build /data/local/tmp adb shell ls -R /data/local/tmp # debugging purposes adb shell /data/local/tmp/build/uv_run_tests
Files are copied as expected. I can see the
libuv.so
in thebuild
folder inside of the emulator. But it can't execute. Would you have a suggestion?Is there a way - if feasible - we can statically build
uv_run_tests
for Android?(I'm not that familiar with CMake yet)
Quick update. For uv_run_tests_a
it executes tests - even though many of them fail.
from libuv.
I'd be okay with just running uv_run_tests_a for now, that's already a step up from the status quo.
Failing tests: I'm not surprised. Best would be to investigate on a case-by-case basis whether to fix the test or to skip it; see the RETURN_SKIP macro.
from libuv.
Good news, @bnoordhuis ! Most failures were due to the emulator be READ ONLY. I fixed it and now we have a few left.
The emfile
test does not work. I wonder if we could skip it for Android as for __MVS__
and __AIX
A few TCP tests are failing due a timeout would you have any clue?
Here is the last build for reference: https://github.com/libuv/libuv/actions/runs/10582346314/job/29321801303?pr=4517
from libuv.
Related Issues (20)
- setuid() does not drop all privileges due to io_uring (CVE-2024-22017) HOT 5
- android and Debian: uv_fs_event stops working when file is deleted HOT 3
- unit test watcher_cross_stop fail in wsl2 HOT 1
- build fail HOT 6
- If you attempt to send a UDP packet to an IPv4 address using an IPv6 socket, sendto() will report the WSAEFAULT error. HOT 10
- Missing symbols in the library file compared to the headers HOT 4
- Issue with GetSystemTimePreciseAsFileTime on Windows Server 2008 in libuv 1.48.0 and Suggested Fix HOT 1
- CMake build fails with FetchContent HOT 2
- the child process (forked from parent process which use libuv) crash with abort() called HOT 4
- UV_UDP_LINUX_RECVERR make loop busy HOT 1
- How can I use libuv raw socket in windows? HOT 1
- The uv__run_idle and uv__run_prepare stages of event loop are unclear HOT 3
- unix: uv_udp_open invalid HOT 3
- I'm going to assume this has been answered but let me know if there's reason to reopen. HOT 13
- new cygwin-induced compatibility bug HOT 1
- New release? HOT 44
- aix: fs_* tests are failing HOT 2
- ibmi: fs_* test are failing HOT 1
- Potential buffer overflow in uv_pipe_chmod() HOT 2
- win: `uv_available_parallelism` doesn't respect process affinity HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libuv.