Debian Codegraph @

tests/cli.rs

raw
1 #[test]
2 fn cli_tests() {
3 let t = trycmd::TestCases::new();
4 t.default_bin_name("maturin");
5 t.case("tests/cmd/*.toml");
6
7 #[cfg(not(feature = "upload"))]
8 {
9 t.skip("tests/cmd/upload.toml");
10 t.skip("tests/cmd/publish.toml");
11 }
12
13 #[cfg(not(feature = "zig"))]
14 {
15 t.skip("tests/cmd/build.toml");
16 }
17
18 #[cfg(not(feature = "scaffolding"))]
19 {
20 t.skip("tests/cmd/new.toml");
21 t.skip("tests/cmd/init.toml");
22 t.skip("tests/cmd/generate-ci.toml");
23 }
24
25 #[cfg(not(all(feature = "upload", feature = "zig", feature = "scaffolding")))]
26 {
27 t.skip("tests/cmd/maturin.toml");
28 }
29 }