rust-libc/libc-test/Cargo.toml
bors 0a93b70496 Auto merge of #2109 - Thomasdezeeuw:issue_2104-regression_tests, r=JohnTitor
Add regression test infrastructure

Please the commit messages for details.

I still need to add lists for the following targets, but I got the major ones I think.

TODO:
* aarch64-unknown-hermit
* x86_64-unknown-hermit
* x86_64-pc-solaris
* x86_64-sun-solaris
* sparcv9-sun-solaris
* x86_64-fortanix-unknown-sgx
* x86_64-unknown-illumos
* asmjs-unknown-emscripten
* wasm32-unknown-emscripten
* wasm32-unknown-unknown
* wasm32-wasi
* Check symbols added after commit ed45c2649b.

TODO: add a bit to the contributing guide about adding to these lists.

Closes #2104.
2021-04-02 12:53:21 +00:00

73 lines
1.2 KiB
TOML

[package]
name = "libc-test"
version = "0.2.92"
authors = ["The Rust Project Developers"]
license = "MIT OR Apache-2.0"
build = "build.rs"
repository = "https://github.com/rust-lang/libc"
homepage = "https://github.com/rust-lang/libc"
description = """
A test crate for the libc crate.
"""
[dependencies.libc]
path = ".."
version = "0.2.92"
default-features = false
[build-dependencies]
cc = "1.0.61"
# FIXME: Use fork ctest until the maintainer gets back.
ctest2 = "0.4"
[features]
default = [ "std" ]
std = [ "libc/std" ]
align = [ "libc/align" ]
extra_traits = [ "libc/extra_traits" ]
[[test]]
name = "main"
path = "test/main.rs"
harness = false
[[test]]
name = "linux-fcntl"
path = "test/linux_fcntl.rs"
harness = false
[[test]]
name = "linux-ipv6"
path = "test/linux_ipv6.rs"
harness = false
[[test]]
name = "linux-elf"
path = "test/linux_elf.rs"
harness = false
[[test]]
name = "linux-strerror_r"
path = "test/linux_strerror_r.rs"
harness = false
[[test]]
name = "linux-termios"
path = "test/linux_termios.rs"
harness = false
[[test]]
name = "cmsg"
path = "test/cmsg.rs"
harness = true
[[test]]
name = "errqueue"
path = "test/errqueue.rs"
harness = true
[[test]]
name = "semver"
path = "test/semver.rs"
harness = false