2023-09-11 18:39:34 +00:00
|
|
|
#[test]
|
2023-09-12 08:28:17 +00:00
|
|
|
fn cli_all_tests() {
|
2023-09-22 16:40:30 +00:00
|
|
|
trycmd::TestCases::new().case("tests/cmd/*_all.toml");
|
2023-09-12 08:28:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
#[cfg(unix)]
|
|
|
|
fn cli_unix_tests() {
|
2023-09-22 16:40:30 +00:00
|
|
|
trycmd::TestCases::new().case("tests/cmd/*_unix.toml");
|
2023-09-12 08:28:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
#[cfg(windows)]
|
|
|
|
fn cli_windows_tests() {
|
2023-09-22 16:40:30 +00:00
|
|
|
trycmd::TestCases::new().case("tests/cmd/*_windows.toml");
|
2023-09-11 18:39:34 +00:00
|
|
|
}
|
2023-09-12 10:38:10 +00:00
|
|
|
|
2023-10-05 12:00:18 +00:00
|
|
|
#[test]
|
|
|
|
#[cfg(feature = "nix-local")]
|
|
|
|
fn cli_nix_local_tests() {
|
|
|
|
trycmd::TestCases::new().case("tests/cmd/*_nix_local.toml");
|
|
|
|
}
|
2023-11-12 08:26:05 +00:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
#[cfg(feature = "powertest")]
|
|
|
|
fn cli_powertest_tests() {
|
|
|
|
trycmd::TestCases::new().case("tests/ptests/*.toml");
|
|
|
|
}
|
2023-11-01 21:02:37 +00:00
|
|
|
|
|
|
|
#[test]
|
2023-09-22 16:40:30 +00:00
|
|
|
#[cfg(feature = "nix")]
|
2023-10-05 12:00:18 +00:00
|
|
|
fn cli_nix_generated_tests() {
|
2023-11-12 08:26:05 +00:00
|
|
|
trycmd::TestCases::new().case("tests/gen/*.toml");
|
2023-11-01 21:02:37 +00:00
|
|
|
}
|