xmlsecurity/qa/unit/signing/signing.cxx |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit fd7f17ca580888044050fbf25df65354ba12d4ca
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Wed Oct 20 11:56:54 2021 +0300
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Wed Oct 20 16:55:32 2021 +0200

    Run testODFX509CertificateChain first because otherwise it fails on my Mac
    
    Sure, it would be better to figure out why it fails.
    
    Change-Id: I4c9e8aa0a9a3cd421de08ec9c9ea2dcb1a242ab1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123875
    Tested-by: Tor Lillqvist <t...@collabora.com>
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/xmlsecurity/qa/unit/signing/signing.cxx 
b/xmlsecurity/qa/unit/signing/signing.cxx
index 109287c93fe1..cd26cd259a44 100644
--- a/xmlsecurity/qa/unit/signing/signing.cxx
+++ b/xmlsecurity/qa/unit/signing/signing.cxx
@@ -1,4 +1,4 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; 
fill-column: 100 -*- */
 /*
  * This file is part of the LibreOffice project.
  *
@@ -544,7 +544,11 @@ CPPUNIT_TEST_FIXTURE(SigningTest, testODFUnsignedTimestamp)
     CPPUNIT_ASSERT_EQUAL(sal_Int32(18183742), infos[0].SignatureTime);
 }
 
-CPPUNIT_TEST_FIXTURE(SigningTest, testODFX509CertificateChain)
+// FIXME: For some unknown reason, this test fails on tml's Mac unless it is 
the only or the first
+// test that is run in this CppunitTest program. The CPPUNIT_TEST_FIXTUREs are 
run in dictionary
+// order so use a name for this that makes it the first one to run.
+
+CPPUNIT_TEST_FIXTURE(SigningTest, aaa_testODFX509CertificateChain)
 {
     createDoc(m_directories.getURLFromSrc(DATA_DIRECTORY)
               + "signed_with_x509certificate_chain.odt");

Reply via email to