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

Function test_cpp_alloc_tracking

crates/memtrack/tests/cpp_tests.rs:74–81  ·  view source on GitHub ↗
(#[case] target: &str)

Source from the content-addressed store, hash-verified

72#[case("alloc_cpp_tcmalloc_dynamic")]
73#[test_log::test]
74fn test_cpp_alloc_tracking(#[case] target: &str) -> Result<(), Box<dyn std::error::Error>> {
75 let project_path = Path::new("testdata/alloc_cpp");
76 let binary = compile_cpp_project(project_path, target)?;
77
78 assert_events_with_marker_for_each_variant!(target, || Command::new(&binary))?;
79
80 Ok(())
81}

Callers

nothing calls this directly

Calls 1

compile_cpp_projectFunction · 0.85

Tested by

no test coverage detected