layout/tests: Mark operations_dont_panic as slow
Browse files at this commitcd0d45fdb88641aa5211c81e69301e85c5dd53a2Parent: e6a8ad31 changed file +5 -0
- src/layout/tests.rs +5 -0
src/layout/tests.rsmodified+5 -0
| @@ -1571,6 +1571,11 @@ fn check_ops_with_options(options: Options, ops: &[Op]) -> Layout<TestWindow> { | ||
| 1571 | 1571 | |
| 1572 | 1572 | #[test] |
| 1573 | 1573 | fn operations_dont_panic() { |
| 1574 | + if std::env::var_os("RUN_SLOW_TESTS").is_none() { | |
| 1575 | + eprintln!("ignoring slow test"); | |
| 1576 | + return; | |
| 1577 | + } | |
| 1578 | + | |
| 1574 | 1579 | let every_op = [ |
| 1575 | 1580 | Op::AddOutput(0), |
| 1576 | 1581 | Op::AddOutput(1), |