tests: Mark window_opening/target_size as slow
Browse files at this commit89cf276779d75c52c261d9ef78e1e808021164e4Parent: bc701cd1 changed file +5 -0
src/tests/window_opening.rsmodified+5 -0
| @@ -405,6 +405,11 @@ post-map configures: | ||
| 405 | 405 | |
| 406 | 406 | #[test] |
| 407 | 407 | fn target_size() { |
| 408 | + if std::env::var_os("RUN_SLOW_TESTS").is_none() { | |
| 409 | + eprintln!("ignoring slow test"); | |
| 410 | + return; | |
| 411 | + } | |
| 412 | + | |
| 408 | 413 | // Here we test a massive powerset of settings that can affect the window size: |
| 409 | 414 | // |
| 410 | 415 | // * want fullscreen |