Add more fcntl and seal constants for Android/Linux
We now create an additional binary `linux_fcntl` for testing this since there are header conflicts when including all necessary headers. This binary is run on all platforms even though it's empty on all non- Android/non-Linux platforms. Testing has been switched from a custom binary to using a runner-less test (or pair of tests). This means that for local development a simple `cd libc-test && cargo test` will run all the tests. CI has also been updated here to reflect that.
Showing
- README.md 1 addition, 1 deletionREADME.md
- appveyor.yml 1 addition, 1 deletionappveyor.yml
- ci/run.sh 41 additions, 18 deletionsci/run.sh
- libc-test/Cargo.toml 10 additions, 0 deletionslibc-test/Cargo.toml
- libc-test/build.rs 32 additions, 1 deletionlibc-test/build.rs
- libc-test/test/linux_fcntl.rs 6 additions, 0 deletionslibc-test/test/linux_fcntl.rs
- libc-test/test/main.rs 1 addition, 1 deletionlibc-test/test/main.rs
- src/macros.rs 0 additions, 37 deletionssrc/macros.rs
- src/unix/notbsd/mod.rs 8 additions, 0 deletionssrc/unix/notbsd/mod.rs
Loading
Please register or sign in to comment