Skip to content
Snippets Groups Projects
  1. Apr 07, 2020
  2. Dec 03, 2019
    • Matthew McPherrin's avatar
      Add test for SO_EE_OFFENDER · 06938add
      Matthew McPherrin authored
      Modelled after the cmsg tests, this wraps the C macro into a function, and then
      compares the results to the Rust implementation in libc.
      06938add
  3. Aug 29, 2019
  4. May 27, 2019
  5. May 24, 2019
  6. Feb 12, 2019
  7. Feb 05, 2019
    • Alan Somers's avatar
      Add an integration test for the cmsg(3) functions. · 38cf5b15
      Alan Somers authored
      Since these are defined in C as macros, they must be reimplemented in
      libc as Rust functions.  They're hard to get exactly right, and they
      vary from platform to platform.  The test builds custom C code that uses
      the real macros, and compares its output to the Rust versions' output
      for various inputs.
      
      Skip the CMSG_NXTHDR test on sparc64 linux because it hits a Bus Error.
      
      Issue #1239
      
      Skip the entire cmsg test program on s390x because it dumps core
      seemingly before the kernel finishes booting.
      
      Issue #1240
      38cf5b15
  8. Feb 02, 2019
  9. Nov 28, 2018
  10. Nov 26, 2018
  11. Oct 31, 2018
  12. Oct 19, 2018
  13. Sep 12, 2018
  14. Sep 05, 2018
    • Tobias Bucher's avatar
      Theoretically test statics · 8b1d8464
      Tobias Bucher authored
      There are none of them in `libc` except for `__progname` on Android, but
      that one cannot be tested because it's not present in any header files.
      8b1d8464
  15. Aug 13, 2018
  16. Jul 29, 2018
  17. Feb 27, 2018
  18. Oct 27, 2017
  19. Oct 18, 2017
  20. Aug 27, 2017
    • Alex Crichton's avatar
      Add asmjs/wasm32 to CI · 22b98ded
      Alex Crichton authored
      Rebase of #610 and also move emscripten up much higher in the hierarchy to
      ensure that it doesn't have too much of a ripple effect on other platforms.
      
      This involved moving down a good number of definitions, but hopefully was done
      with care to not break anything!
      22b98ded
  21. Aug 21, 2017
    • Bryant Mairs's avatar
      Add more fcntl and seal constants for Android/Linux · 2e11d9e1
      Bryant Mairs authored
      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.
      2e11d9e1
  22. Jun 08, 2017
  23. Oct 21, 2016
  24. Aug 27, 2016
  25. Sep 16, 2015
  26. Sep 14, 2015
    • Alex Crichton's avatar
      Run all tests manually · 5a28433b
      Alex Crichton authored
      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.
      5a28433b
  27. Sep 11, 2015
  28. Sep 10, 2015
Loading