MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / TEST_P

Function TEST_P

test/opt/strip_debug_info_test.cpp:204–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202using StripDebugInfoTest = PassTest<::testing::TestWithParam<const char*>>;
203
204TEST_P(StripDebugInfoTest, Kind) {
205 std::vector<const char*> text = {
206 "OpCapability Shader",
207 "OpMemoryModel Logical GLSL450",
208 GetParam(),
209 };
210 SinglePassRunAndCheck<StripDebugInfoPass>(JoinAllInsts(text),
211 JoinNonDebugInsts(text),
212 /* skip_nop = */ false);
213}
214
215// Test each possible non-line debug instruction.
216// clang-format off

Callers

nothing calls this directly

Calls 2

JoinAllInstsFunction · 0.85
JoinNonDebugInstsFunction · 0.85

Tested by

no test coverage detected