Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 6 additions & 24 deletions libc-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,54 +30,36 @@ extra_traits = ["libc/extra_traits"]

[[test]]
name = "ctest"
path = "test/ctest.rs"
harness = false

[[test]]
name = "linux-fcntl"
path = "test/linux_fcntl.rs"
name = "linux_fcntl"
harness = false

[[test]]
name = "linux-if-arp"
path = "test/linux_if_arp.rs"
name = "linux_if_arp"
harness = false

[[test]]
name = "linux-ipv6"
path = "test/linux_ipv6.rs"
name = "linux_ipv6"
harness = false

[[test]]
name = "linux-elf"
path = "test/linux_elf.rs"
name = "linux_elf"
harness = false

[[test]]
name = "linux-strerror_r"
path = "test/linux_strerror_r.rs"
name = "linux_strerror_r"
harness = false

[[test]]
name = "linux-termios"
path = "test/linux_termios.rs"
name = "linux_termios"
harness = false

[[test]]
name = "semver"
path = "test/semver.rs"
harness = false

[[test]]
name = "style"
path = "test/check_style.rs"
harness = true

[[test]]
name = "style_tests"
path = "test/style_tests.rs"
harness = true

# FIXME(msrv): These should be moved to the root Cargo.toml as `[workspace.lints.*]`
# once MSRV is above 1.64 and replaced with `[lints] workspace=true`

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions libc-test/test/check_style.rs → libc-test/tests/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
//! cargo test --test style
//! ```

pub mod style;
pub mod style_lib;

use std::env;
use std::path::Path;

use style::{Result, StyleChecker};
use style_lib::{Result, StyleChecker};

/// Relative to `src/`.
const SKIP_PREFIXES: &[&str] = &[
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! Verifies the implementation of the style checker in [style].

use style::StyleChecker;
use style_lib::StyleChecker;

pub mod style;
pub mod style_lib;

#[test]
fn check_style_accept_correct_module_layout() {
Expand Down
Loading