From 6c03f87490e3d70504c2fc40386b6c322d36160d Mon Sep 17 00:00:00 2001 From: Dejan Mircevski Date: Fri, 4 Sep 2015 08:51:52 -0400 Subject: [PATCH] Print failing assembly text in CompileSuccessfully(). --- test/TestFixture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TestFixture.h b/test/TestFixture.h index cfea708..2e00abf 100644 --- 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); -- 2.7.4