diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-07-04 05:34:13 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-07-04 15:59:58 +0200 |
commit | 7e3f0824a16746b1d5f62e9fca987e5a10fda92f (patch) | |
tree | cabd15bc70dfd82630f92e19307620908556849f /test | |
parent | 597189f481ddd1a5724d7af75362053f4b5cd9c8 (diff) |
improve test failure message
Change-Id: I71d6b65b046bfc31692ba12423288c55fccb2d02
Diffstat (limited to 'test')
-rw-r--r-- | test/source/bootstrapfixture.cxx | 4 |
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); |