From cd0d45fdb88641aa5211c81e69301e85c5dd53a2 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 2 Sep 2025 08:07:22 +0300 Subject: layout/tests: Mark operations_dont_panic as slow It's by far the slowest test (disabling it cuts cargo test time by 2x), and it hadn't caught much in the past months. --- src/layout/tests.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/layout/tests.rs b/src/layout/tests.rs index 27a05b26..6c20acc4 100644 --- a/src/layout/tests.rs +++ b/src/layout/tests.rs @@ -1571,6 +1571,11 @@ fn check_ops_with_options(options: Options, ops: &[Op]) -> Layout { #[test] fn operations_dont_panic() { + if std::env::var_os("RUN_SLOW_TESTS").is_none() { + eprintln!("ignoring slow test"); + return; + } + let every_op = [ Op::AddOutput(0), Op::AddOutput(1), -- cgit