forge
Explore
Log in

Don't you dare go Hollow

layout/tests: Mark operations_dont_panic as slow

Browse files at this commit

cd0d45fdb88641aa5211c81e69301e85c5dd53a2Ivan MolodetskikhParent: e6a8ad3
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.rsmodified+5 -0
@@ -1571,6 +1571,11 @@ fn check_ops_with_options(options: Options, ops: &[Op]) -> Layout<TestWindow> {
15711571
15721572 #[test]
15731573 fn operations_dont_panic() {
1574+ if std::env::var_os("RUN_SLOW_TESTS").is_none() {
1575+ eprintln!("ignoring slow test");
1576+ return;
1577+ }
1578+
15741579 let every_op = [
15751580 Op::AddOutput(0),
15761581 Op::AddOutput(1),