Commit a75a1c5c authored by gabi-250's avatar gabi-250 🤸
Browse files

arti: Gate the "arti keys" tests behind onion-service-service

Now that these test more than just the help output, we need to gate them
behind the `onion-service-service` feature: the tests involve some C Tor
keystores, and require at least one onion service to be configured,
because onion services (and clients) are the only thing these keystores
are used for.
parent 1436f750
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -53,8 +53,12 @@ fn cli_tests() {

    cfg_if::cfg_if! {
        if #[cfg(feature = "onion-service-cli-extra")] {
            cfg_if::cfg_if! {
                if #[cfg(feature = "onion-service-service")] {
                    t.case("tests/testcases/keys/*.toml");
                    t.case("tests/testcases/keys/*.md");
                }
            }
        } else {
            // This is not yet implemented, see #1487
            t.skip("tests/testcases/keys-feature-missing/*.toml");