From 5cb3cd85e66cc9ee9121aa1e380d1379043c0b74 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Sun, 12 May 2024 10:57:40 +0200 Subject: [PATCH] gate socketcan import --- tests/isotp_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/isotp_tests.rs b/tests/isotp_tests.rs index 1a36a67..7652a82 100644 --- a/tests/isotp_tests.rs +++ b/tests/isotp_tests.rs @@ -68,6 +68,7 @@ async fn vecu_spawn(adapter: &AsyncCanAdapter, config: VECUConfig) -> ChildGuard vecu } +#[cfg(feature = "test_vcan")] async fn isotp_test_echo(msg_len: usize, config: VECUConfig) { let adapter = automotive::socketcan::SocketCan::new_async("vcan0").unwrap(); let _vecu = vecu_spawn(&adapter, config).await;