diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-03-03 12:02:08 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-03-03 13:43:58 +0100 |
commit | b3c18cdc07507bf4bc4bac14e792b1eb2294399a (patch) | |
tree | 96927bdf9f51f25f0f455f6d7f9c959e4f32d519 /test | |
parent | 381c9c6e5d179cf1d4dde9088fa5124fe2c36a99 (diff) |
test: log the validator cmdline
The validator cmdline is fairly nontrivial, log it so that in case it
fails, one can invoke it manually without having to hunt down the string
in a debugger.
Change-Id: Id18c6d67f1b3b78da31e8be8c60f703623b80309
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89875
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'test')
-rw-r--r-- | test/source/bootstrapfixture.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx index 771c1fe482d9..4d6b54a8f879 100644 --- a/test/source/bootstrapfixture.cxx +++ b/test/source/bootstrapfixture.cxx @@ -187,6 +187,7 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor OUString aOutputFile = aOutput.GetFileName(); OUString aCommand = aValidator + " " + rPath + " > " + aOutputFile; + SAL_INFO("test", "BootstrapFixture::validate: executing '" << aCommand << "'"); int returnValue = system(OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8).getStr()); OString aContentString = loadFile(aOutput.GetURL()); |