MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / test_valgrind_executor

Function test_valgrind_executor

src/executor/tests.rs:177–187  ·  view source on GitHub ↗
(#[case] cmd: &str)

Source from the content-addressed store, hash-verified

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)]

Callers

nothing calls this directly

Calls 4

get_valgrind_executorFunction · 0.85
valgrind_configFunction · 0.85
create_test_setupFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected