projects
/
platform
/
upstream
/
SPIRV-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d0c813
)
Negative test for GroupOperation.
author
Dejan Mircevski
<deki@google.com>
Tue, 13 Oct 2015 20:32:38 +0000
(16:32 -0400)
committer
David Neto
<dneto@google.com>
Mon, 26 Oct 2015 16:55:33 +0000
(12:55 -0400)
test/TextToBinary.Group.cpp
patch
|
blob
|
history
diff --git
a/test/TextToBinary.Group.cpp
b/test/TextToBinary.Group.cpp
index
cb9eb84
..
907eefb
100644
(file)
--- a/
test/TextToBinary.Group.cpp
+++ b/
test/TextToBinary.Group.cpp
@@
-62,6
+62,11
@@
INSTANTIATE_TEST_CASE_P(TextToBinaryGroupOperation, GroupOperationTest,
#undef CASE
// clang-format on
+TEST_F(GroupOperationTest, WrongGroupOperation) {
+ EXPECT_THAT(CompileFailure("%r = OpGroupUMin %t %e xxyyzz %x"),
+ Eq("Invalid group operation 'xxyyzz'."));
+}
+
// TODO(dneto): OpAsyncGroupCopy
// TODO(dneto): OpWaitGroupEvents
// TODO(dneto): OpGroupAll