test: capture stderr of odfvalidator too

It will be used when https://github.com/tdf/odftoolkit/pull/121 is
merged.

Change-Id: I78d2b52ffc05fdd446ea7b673c2a7ebab26efc2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120943
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
This commit is contained in:
Michael Stahl
2021-08-24 18:58:32 +02:00
parent 84d87ae75f
commit ba8fe774a1
+1 -1
View File
@@ -189,7 +189,7 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor
utl::TempFile aOutput;
aOutput.EnableKillingFile();
OUString aOutputFile = aOutput.GetFileName();
OUString aCommand = aValidator + " " + rPath + " > " + aOutputFile;
OUString aCommand = aValidator + " " + rPath + " > " + aOutputFile + " 2>&1";
#if !defined _WIN32
// For now, this is only needed by some Linux ASan builds, so keep it simply and disable it on