From 7e3f0824a16746b1d5f62e9fca987e5a10fda92f Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 4 Jul 2014 05:34:13 +0200 Subject: improve test failure message Change-Id: I71d6b65b046bfc31692ba12423288c55fccb2d02 --- test/source/bootstrapfixture.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx index 110e0a53cf26..fe0a1ea81f2e 100644 --- a/test/source/bootstrapfixture.cxx +++ b/test/source/bootstrapfixture.cxx @@ -171,8 +171,8 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor int returnValue = system(OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8).getStr()); CPPUNIT_ASSERT_EQUAL_MESSAGE( - OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8).getStr(), 0, - returnValue); + OUStringToOString(OUString("failed to execute: ") + aCommand, + RTL_TEXTENCODING_UTF8).getStr(), 0, returnValue); OString aContentString = loadFile(aOutput.GetURL()); OUString aContentOUString = OStringToOUString(aContentString, RTL_TEXTENCODING_UTF8); -- cgit