mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-22 19:50:05 +00:00
Negative test for ExecutionMode.
This commit is contained in:
parent
865034263d
commit
725cc2a2df
@ -194,6 +194,11 @@ INSTANTIATE_TEST_CASE_P(
|
||||
}));
|
||||
#undef CASE
|
||||
|
||||
TEST_F(OpExecutionModeTest, WrongMode) {
|
||||
EXPECT_THAT(CompileFailure("OpExecutionMode %1 xxyyzz"),
|
||||
Eq("Invalid execution mode 'xxyyzz'."));
|
||||
}
|
||||
|
||||
// Test OpCapability
|
||||
|
||||
using OpCapabilityTest = spvtest::TextToBinaryTestBase<
|
||||
|
Loading…
Reference in New Issue
Block a user