diff --git a/Justfile b/Justfile index 91dfadfa9d2..4507d4441b7 100644 --- a/Justfile +++ b/Justfile @@ -9,7 +9,8 @@ platform_excludes := if os() == "macos" { "" } -nightly_flags := "--features nightly,test_features" +nightly_test_flags := "--features nightly,test_features" +stable_test_flags := "--features test_features" export RUST_BACKTRACE := env("RUST_BACKTRACE", "short") ci_hack_nextest_profile := if env("CI_HACKS", "0") == "1" { "--profile ci" } else { "" } @@ -44,8 +45,8 @@ nextest TYPE *FLAGS: --cargo-profile dev-release \ {{ ci_hack_nextest_profile }} \ {{ platform_excludes }} \ - {{ if TYPE == "nightly" { nightly_flags } \ - else if TYPE == "stable" { "" } \ + {{ if TYPE == "nightly" { nightly_test_flags } \ + else if TYPE == "stable" { stable_test_flags } \ else { error("TYPE is neighter 'nightly' nor 'stable'") } }} \ {{ FLAGS }}