From 7bcfd8878e2e793975775499513745da91e242c3 Mon Sep 17 00:00:00 2001 From: BiancaIalangi Date: Wed, 11 Dec 2024 14:14:16 +0200 Subject: [PATCH] fix - ignore when there is no feature flag for interactors --- framework/meta/Cargo.toml | 1 + framework/meta/src/cmd/test.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/meta/Cargo.toml b/framework/meta/Cargo.toml index 8708e37ece..70b59b3d68 100644 --- a/framework/meta/Cargo.toml +++ b/framework/meta/Cargo.toml @@ -23,6 +23,7 @@ path = "src/main.rs" [features] template-test-current = [] template-test-released = [] +chain-simulator-tests = [] [dependencies] clap = { version = "4.4.7", features = ["derive"] } diff --git a/framework/meta/src/cmd/test.rs b/framework/meta/src/cmd/test.rs index 18e5657a97..25adffb187 100644 --- a/framework/meta/src/cmd/test.rs +++ b/framework/meta/src/cmd/test.rs @@ -28,7 +28,7 @@ pub fn test(test_args: &TestArgs) { args.extend(["--features", "multiversx-sc-scenario/run-go-tests"]); } - if chain_simulator { + if chain_simulator && cfg!(feature = "chain-simulator-tests") { args.extend(["--features", "chain-simulator-tests"]); }