From 6ffa685c902bd13efa6ba592e90aece7a4263150 Mon Sep 17 00:00:00 2001 From: Serge Barral Date: Mon, 14 Aug 2023 14:18:46 +0200 Subject: [PATCH] Exclude non-loom test when `asynchronix_loom` set --- asynchronix/Cargo.toml | 5 +++++ asynchronix/tests/tests.rs | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 asynchronix/tests/tests.rs diff --git a/asynchronix/Cargo.toml b/asynchronix/Cargo.toml index bd39917..51209fb 100644 --- a/asynchronix/Cargo.toml +++ b/asynchronix/Cargo.toml @@ -17,6 +17,7 @@ A high performance asychronous compute framework for system simulation. """ categories = ["simulation", "aerospace", "science"] keywords = ["simulation", "discrete-event", "systems", "cyberphysical", "real-time"] +autotests = false [features] # API-unstable public exports meant for external test/benchmarking; development only. @@ -44,3 +45,7 @@ waker-fn = "1.1" futures-util = "0.3" futures-channel = "0.3" futures-executor = "0.3" + +[[test]] +name = "integration" +path = "tests/tests.rs" diff --git a/asynchronix/tests/tests.rs b/asynchronix/tests/tests.rs new file mode 100644 index 0000000..a5ca706 --- /dev/null +++ b/asynchronix/tests/tests.rs @@ -0,0 +1,4 @@ +#[cfg(not(asynchronix_loom))] +mod model_scheduling; +#[cfg(not(asynchronix_loom))] +mod simulation_scheduling;