(extension: &mut SmokeConfigExtension)
| 1058 | } |
| 1059 | |
| 1060 | fn normalize_smoke_statuses(extension: &mut SmokeConfigExtension) { |
| 1061 | if extension.direct.is_empty() { |
| 1062 | extension.direct = "not-run".to_owned(); |
| 1063 | } |
| 1064 | if extension.server.is_empty() { |
| 1065 | extension.server = "not-run".to_owned(); |
| 1066 | } |
| 1067 | if extension.restart.is_empty() { |
| 1068 | extension.restart = "not-run".to_owned(); |
| 1069 | } |
| 1070 | if extension.dump_restore.is_empty() { |
| 1071 | extension.dump_restore = "not-run".to_owned(); |
| 1072 | } |
| 1073 | } |
| 1074 | |
| 1075 | fn ensure_valid_smoke_status(status: &str, id: &str, field: &str) -> Result<()> { |
| 1076 | ensure!( |
no outgoing calls
no test coverage detected