(parsed: &TestCommand)
| 20 | struct TestRun; |
| 21 | |
| 22 | pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { |
| 23 | assert_eq!(parsed.command, "run"); |
| 24 | if !parsed.options.is_empty() { |
| 25 | anyhow::bail!("No options allowed on {parsed}"); |
| 26 | } |
| 27 | Ok(Box::new(TestRun)) |
| 28 | } |
| 29 | |
| 30 | /// Builds a [TargetIsa] for the current host. |
| 31 | /// |
no test coverage detected