(command: &[&str], name: Option<&str>)
| 195 | } |
| 196 | |
| 197 | fn exec_target(command: &[&str], name: Option<&str>) -> executor::BenchmarkTarget { |
| 198 | executor::BenchmarkTarget::Exec { |
| 199 | command: command.iter().map(|s| s.to_string()).collect(), |
| 200 | name: name.map(str::to_string), |
| 201 | walltime_args: Default::default(), |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | #[test] |
| 206 | fn rejects_missing_or_empty_executable() { |
no outgoing calls