Commit Graph

411 Commits

Author SHA1 Message Date
Sébastien Marie c618f366f3 add openbsd support to libc-test 2015-12-23 11:03:10 +01:00
Alex Crichton 881ef9b966 Update the android CI image
It's got a new toolchain which should hopefully support some more modern
definitions.
2015-12-18 13:15:09 -08:00
Alex Crichton ff38c3a121 Bump to 0.2.4 2015-12-17 14:44:50 -08:00
Alex Crichton 79d989996b Bump to 0.2.3 2015-12-16 11:46:54 -08:00
Alex Crichton 8dce9ada5c Add a load of constants/definitions from nix
This is a blanket import of lots of constants and function from nix-rust
2015-12-16 08:16:41 -08:00
Alexander Polakov 58501564c4 SysV shared memory APIs 2015-12-15 18:15:05 +03:00
Alexander Polakov 30baed0f7e Add getxattr()/setxattr()/listxattr()/removexattr() variations 2015-12-02 12:22:01 +03:00
Alex Crichton 49d7bca8aa Add rumprun CI and get tests passing 2015-12-01 17:16:43 -08:00
Alex Crichton 0af5e2312b Check in Cargo.lock for libc-test
This should help the repo be resilient to ctest changes upstream.
2015-11-30 15:07:28 -08:00
Alexander Polakov 26974c7ff7 Add SCHED_* constants for linux & freebsd 2015-11-30 16:56:52 +03:00
Alexander Polakov 420f2e4c80 Disable sockaddr_nl on musl target
See https://github.com/rust-lang-nursery/libc/pull/50 for details
2015-11-11 13:24:16 +03:00
Alexander Polakov 6b58ed3bc1 Add netlink.h in attempt to fix test 2015-11-11 13:22:12 +03:00
Dan Burkert 85a76f8eb2 statvfs(3) bindings 2015-11-04 22:25:30 -08:00
Alex Crichton 568705e830 Add time bindings 2015-11-04 14:18:07 -08:00
Alex Crichton 88d23e7ef8 Add dladdr bindings 2015-11-02 23:37:57 -08:00
Alex Crichton 74825222cf Add bindings for -D_FILE_OFFSET_BITS=64
They're all added under the `foo64` names with the `foo64` types added as well,
so they still need to be explicitly chosen.
2015-11-02 10:11:21 -08:00
Alex Crichton 07d3a0dacc Add more bindings for signals and select/pselect 2015-10-30 13:55:42 -07:00
Alex Crichton 3a572fda25 Be more selective about skipped pthread on musl tests
Fixup the value of PTHREAD_STACK_MIN as well
2015-10-29 22:59:57 -07:00
Alex Crichton baef6116da iOS support 2015-09-21 14:37:14 -07:00
Alex Crichton a1b948e34a Fix FreeBSD 2015-09-18 14:33:42 -07:00
Alex Crichton 15b83c244f Use musl-gcc, fix musl headers 2015-09-17 17:25:52 -07:00
Alex Crichton de9736da96 Fix all tests on OSX 2015-09-17 15:47:44 -07:00
Alex Crichton 1ff961010b Fix android 2015-09-17 15:09:02 -07:00
Alex Crichton cd9b33e32b Import lots of the stdlib 2015-09-17 14:47:40 -07:00
Alex Crichton b5da7c0f01 Fix unused variable warning 2015-09-16 17:44:40 -07:00
Alex Crichton 094f44db79 Fix android 2015-09-16 16:27:29 -07:00
Alex Crichton f3b9748e4c Start testing types of struct fields 2015-09-16 14:13:20 -07:00
Alex Crichton e0f4d107fa Skip the pointer check for functions on windows 2015-09-16 09:48:14 -07:00
Alex Crichton d11e9141b2 Switch to ctest crate
Extracted tests!
2015-09-15 23:28:52 -07:00
Alex Crichton 1846918fe2 Fix windows build 2015-09-15 20:57:42 -07:00
Alex Crichton 7b28c271d6 Fix build on MSVC 2015-09-15 20:56:16 -07:00
Alex Crichton 8293cede01 Get FreeBSD compiling 2015-09-15 17:05:19 -07:00
Alex Crichton eef03da0f9 Don't test mach_timebase_info_t signedness
It's just a struct
2015-09-15 16:57:06 -07:00
Alex Crichton 6d3cfdb3e3 Test signedness of integer types 2015-09-15 14:53:01 -07:00
Alex Crichton 8fc95d25d4 Get tests for mips passing 2015-09-14 11:06:20 -07:00
Alex Crichton 5a28433bb1 Run all tests manually
Running a test per thread really doesn't play well with QEMU emulation, so just
make it easy on ourselves and don't run threads.
2015-09-13 23:33:33 -07:00
Alex Crichton 1398566d67 Revert alloc_system change 2015-09-13 21:43:02 -07:00
Alex Crichton 1cf98aec58 Get MUSL working 2015-09-13 11:19:02 -07:00
Alex Crichton 9e97afd91f Break apart src/unix/other.rs a bit
Also sysctl isn't defined on MUSL
2015-09-13 11:16:53 -07:00
Alex Crichton d3d77922eb Get android tests working 2015-09-11 17:22:57 -07:00
Alex Crichton f81e3d3672 Compat back to 1.0.0 2015-09-11 15:27:20 -07:00
Alex Crichton 5d6cf05d8b Let's just juggle everything around!
[ci skip]
2015-09-11 14:52:34 -07:00
Alex Crichton 2d3608eb17 Correct ip6_mreq => ipv6_mreq 2015-09-11 12:55:15 -07:00
Alex Crichton 31504843db Windows 32-bit fixes 2015-09-11 11:44:25 -07:00
Alex Crichton 7da9b10fc6 More windows compat
[ci skip]
2015-09-10 21:26:09 -07:00
Alex Crichton e8606192d8 Get OSX tests compiling 2015-09-10 20:19:44 -07:00
Alex Crichton 2237882ddc Test some functions! 2015-09-10 19:59:23 -07:00
Alex Crichton 26333d3147 Semi-pin to a version of syntex_syntax 2015-09-10 19:12:03 -07:00
Alex Crichton 13a6f2daf1 More windows fixes
[ci skip]
2015-09-10 19:13:19 -07:00
Alex Crichton 5f624a579c arg => flag 2015-09-10 18:10:52 -07:00
Alex Crichton 671376bac3 No parameters in C 2015-09-10 17:39:03 -07:00
Alex Crichton b01a8ccd7c Don't worry about unused parameters 2015-09-10 17:37:22 -07:00
Alex Crichton ac2bd85245 Windows MSVC support
[ci skip]
2015-09-10 17:36:10 -07:00
Alex Crichton e7afdd81ba Handle when constants aren't defined 2015-09-10 17:15:20 -07:00
Alex Crichton 0df7c1076e Test constant values 2015-09-10 16:35:37 -07:00
Alex Crichton c8b895cee7 Attempt to fix 32-bit 2015-09-10 13:24:15 -07:00
Alex Crichton 310d623acf Tweak script, fix on linux 2015-09-10 10:56:31 -07:00
Alex Crichton 3e5155b345 Test struct field offsets/sizes 2015-09-09 23:46:19 -07:00
Alex Crichton a9adfbf56c Test size/align of structs 2015-09-09 23:21:27 -07:00
Alex Crichton 1608306b1b Get size/align tests working for typedefs 2015-09-09 22:59:24 -07:00
Alex Crichton 8e5f0cd827 Add skeleton testing framework 2015-09-09 22:46:19 -07:00