[Libreoffice-commits] core.git: test/source

Michael Stahl (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 24 16:59:07 UTC 2021


 test/source/bootstrapfixture.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba8fe774a1cfc1cc5be05ecc5175a7d020e5bd7a
Author:     Michael Stahl <michael.stahl at allotropia.de>
AuthorDate: Tue Aug 24 13:38:43 2021 +0200
Commit:     Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Tue Aug 24 18:58:32 2021 +0200

    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 at allotropia.de>

diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index 78bdba431c77..4d933a3fc5d2 100644
--- a/test/source/bootstrapfixture.cxx
+++ b/test/source/bootstrapfixture.cxx
@@ -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


More information about the Libreoffice-commits mailing list