From e17130cd13ca1b935fc2f604b79285402dc6e9ed Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 8 Dec 2022 15:12:04 +0100 Subject: [PATCH] Feature gate test `benchmark_storage_works` (#6376) * Feature gate storage bench test Signed-off-by: Oliver Tale-Yazdi * typo Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> --- polkadot/tests/benchmark_storage_works.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polkadot/tests/benchmark_storage_works.rs b/polkadot/tests/benchmark_storage_works.rs index 8d9694aa0a..7c9e40b9d0 100644 --- a/polkadot/tests/benchmark_storage_works.rs +++ b/polkadot/tests/benchmark_storage_works.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . +#![cfg(feature = "runtime-benchmarks")] + use assert_cmd::cargo::cargo_bin; use std::{ path::Path,