From 0da63a4507995ddf73f261e54837e970b5df4da1 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Mon, 16 Mar 2026 02:53:39 -0700 Subject: [PATCH] tests: Ensure clippy --tests runs on integration.rs Include the file when running clippy as well as when building with devcli_testenv set. Fixes: #7846 Signed-off-by: Rob Bradford --- cloud-hypervisor/tests/integration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-hypervisor/tests/integration.rs b/cloud-hypervisor/tests/integration.rs index 8841b00ae..fb1049100 100644 --- a/cloud-hypervisor/tests/integration.rs +++ b/cloud-hypervisor/tests/integration.rs @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 // -#![cfg(devcli_testenv)] +#![cfg(any(devcli_testenv, clippy))] #![allow(clippy::undocumented_unsafe_blocks)] // When enabling the `mshv` feature, we skip quite some tests and // hence have known dead-code. This annotation silences dead-code