(#[case] cmd: &str)
| 175 | #[apply(test_cases)] |
| 176 | #[test_log::test(tokio::test)] |
| 177 | async fn test_valgrind_executor(#[case] cmd: &str) { |
| 178 | let (_lock, mut executor) = get_valgrind_executor().await; |
| 179 | |
| 180 | let config = valgrind_config(cmd); |
| 181 | // Unset GITHUB_ACTIONS to force LocalProvider which supports repository_override |
| 182 | temp_env::async_with_vars(&[("GITHUB_ACTIONS", None::<&str>)], async { |
| 183 | let (execution_context, _temp_dir) = create_test_setup(config).await; |
| 184 | executor.run(&execution_context, &None).await.unwrap(); |
| 185 | }) |
| 186 | .await; |
| 187 | } |
| 188 | |
| 189 | #[apply(env_test_cases)] |
| 190 | #[test_log::test(tokio::test)] |
nothing calls this directly
no test coverage detected