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:
b3669d1
)
Print failing assembly text in CompileSuccessfully().
author
Dejan Mircevski
<deki@google.com>
Fri, 4 Sep 2015 12:51:52 +0000
(08:51 -0400)
committer
David Neto
<dneto@google.com>
Mon, 26 Oct 2015 16:52:01 +0000
(12:52 -0400)
test/TestFixture.h
patch
|
blob
|
history
diff --git
a/test/TestFixture.h
b/test/TestFixture.h
index
cfea708
..
2e00abf
100644
(file)
--- a/
test/TestFixture.h
+++ b/
test/TestFixture.h
@@
-71,7
+71,7
@@
class TextToBinaryTestBase : public T {
spv_result_t status =
spvTextToBinary(&this->text, opcodeTable, operandTable, extInstTable,
&binary, &diagnostic);
- EXPECT_EQ(SPV_SUCCESS, status);
+ EXPECT_EQ(SPV_SUCCESS, status)
<< text
;
SpirvVector code_copy;
if (status == SPV_SUCCESS) {
code_copy = SpirvVector(binary->code, binary->code + binary->wordCount);