Skip to content
Snippets Groups Projects
  1. Oct 23, 2020
  2. Oct 16, 2020
  3. Jun 01, 2020
  4. May 27, 2020
  5. Apr 07, 2020
  6. 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
  7. Aug 29, 2019
  8. May 27, 2019
  9. May 24, 2019
  10. Feb 12, 2019
  11. 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
  12. Feb 02, 2019
  13. Nov 28, 2018
  14. Nov 26, 2018
  15. Oct 31, 2018
  16. Oct 19, 2018
  17. Sep 12, 2018
  18. 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
  19. Aug 13, 2018
  20. Jul 29, 2018
  21. Feb 27, 2018
  22. Oct 27, 2017
  23. Oct 18, 2017
  24. 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
  25. 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
  26. Jun 08, 2017
  27. Oct 21, 2016
  28. Aug 27, 2016
  29. Sep 16, 2015
  30. 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
  31. Sep 11, 2015
  32. Sep 10, 2015
Loading