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:
c452bfd
)
Fix test inclusion when Effcee is absent
author
David Neto
<dneto@google.com>
Tue, 6 Feb 2018 17:06:26 +0000
(12:06 -0500)
committer
David Neto
<dneto@google.com>
Tue, 6 Feb 2018 17:10:50 +0000
(12:10 -0500)
test/opt/type_manager_test.cpp
patch
|
blob
|
history
diff --git
a/test/opt/type_manager_test.cpp
b/test/opt/type_manager_test.cpp
index
b235db4
..
8832b75
100644
(file)
--- a/
test/opt/type_manager_test.cpp
+++ b/
test/opt/type_manager_test.cpp
@@
-62,6
+62,8
@@
void Match(const std::string& original, ir::IRContext* context,
<< assembly;
}
+#endif
+
std::vector<std::unique_ptr<Type>> GenerateAllTypes() {
// Types in this test case are only equal to themselves, nothing else.
std::vector<std::unique_ptr<Type>> types;
@@
-168,8
+170,6
@@
std::vector<std::unique_ptr<Type>> GenerateAllTypes() {
return types;
}
-#endif
-
TEST(TypeManager, TypeStrings) {
const std::string text = R"(
OpTypeForwardPointer !20 !2 ; id for %p is 20, Uniform is 2