Skip to content
Snippets Groups Projects
  1. Aug 21, 2019
  2. Aug 14, 2019
  3. May 24, 2019
    • gnzlbg's avatar
      Add a FreeBSD 12 build job and test FreeBSD12 APIs · 7437d0a6
      gnzlbg authored
      This commits adds a second FreeBSD 12 build job,
      and splits the implementation of the FreeBSD module
      into two modules, one for FreeBSD 11, and one for FreeBSD 12.
      
      The FreeBSD 11 module is compiled always by default, and is
      mostly forward compatible with FreeBSD 12 systems.
      
      The FreeBSD 12 module is only built for now in libc's CI,
      and uses FreeBSD 12 data types and APIs, linking to symbols
      that are only available in FreeBSD 12.
      
      Basically, when LIBC_CI env variable is defined, and the host
      system is a FreeBSD 12 system, then the FreeBSD 12 module is
      automatically built and tested. Conditional compilation is done
      using a `cfg(freebsd12)` flag.
      
      This commit also re-enables many tests, and documents why
      some remain disabled.
      7437d0a6
  4. Feb 07, 2019
    • gnzlbg's avatar
      Build all platforms in CI · 8f1acf46
      gnzlbg authored
      This commit adds a `ci/build.sh` script that checks that libc builds correctly
      for some common configurations (`--no-default-features`, `default`,
      `extra_traits`) on most targets supported by Rust since Rust 1.13.0 (the oldest
      Rust version that libc supports).
      
      The build matrix is refactored into two stages.
      
      The first stage is called `tools-and-build-and-tier1` and it aims to discover
      issues quickly by running the documentation and linter builds, as well as
      checking that the library builds correctly on all targets in all supported
      channels and "problematic" Rust versions; Rust versions adding major new
      features like `repr(align)`, `union`, etc. This first stage also runs
      libc-test for the tier-1 targets on linux and osx. These builds finish
      quickly because no emulation is necessary.
      
      The second stage is called `tier2` and it runs libc-test for all other targets
      for which we are currently able to do so.
      
      Closes #1229 .
      8f1acf46
  5. 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
  6. Feb 02, 2019
  7. Nov 26, 2018
  8. Nov 20, 2018
  9. Jul 29, 2018
  10. Jul 12, 2018
  11. Mar 15, 2018
  12. Feb 27, 2018
  13. Nov 25, 2017
  14. Oct 27, 2017
  15. Sep 16, 2017
  16. Sep 06, 2017
  17. Aug 22, 2017
  18. Aug 21, 2017
    • Bryant Mairs's avatar
    • 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
  19. Aug 18, 2017
    • Alex Crichton's avatar
      Remove OpenBSD CI · 201d5394
      Alex Crichton authored
      It's now broken due to changes in the `gcc` crate and having a too-old compiler,
      and in general it's unfortunately architecturally so different from the other
      test frameworks that it's difficult to maintain over time.
      201d5394
  20. Jul 07, 2017
  21. Jun 08, 2017
  22. May 03, 2017
  23. Apr 19, 2017
  24. Feb 23, 2017
  25. Jan 18, 2017
  26. Jan 17, 2017
  27. Nov 06, 2016
  28. Oct 14, 2016
  29. Oct 09, 2016
  30. Sep 30, 2016
  31. Sep 09, 2016
    • Sébastien Marie's avatar
      extend QEMU image management · 91993945
      Sébastien Marie authored
      - allow QEMU name to have subdirectory inside (replace `/` by `__` in
        the filename)
      - add a new code path for plain qcow2 image (for efficient bandwidth
        usage, the qcow2 is expected to use compressed qcow2 format)
      - move freebsd image to explicitly download the gzipped QEMU
      91993945
  32. Aug 28, 2016
Loading