summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-04 05:34:13 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-04 15:59:58 +0200
commit7e3f0824a16746b1d5f62e9fca987e5a10fda92f (patch)
treecabd15bc70dfd82630f92e19307620908556849f /test/source
parent597189f481ddd1a5724d7af75362053f4b5cd9c8 (diff)
improve test failure message
Change-Id: I71d6b65b046bfc31692ba12423288c55fccb2d02
Diffstat (limited to 'test/source')
-rw-r--r--test/source/bootstrapfixture.cxx4
1 files changed, 2 insertions, 2 deletions
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);