app-office/libreoffice: Disable more test
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 28 May 2018 21:08:16 +0000 (23:08 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 28 May 2018 21:10:56 +0000 (23:10 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-office/libreoffice/files/libreoffice-6.0.3.2-disable-flaky-tests.patch

index 03421c5e12be3808b1206eadf5e6bffda64ed1e9..b25e4fc3ae5af7dc5cfa17e813300b08430deb8e 100644 (file)
@@ -214,3 +214,40 @@ index 4d65beeb90c4..f3d71501c41a 100644
 
  DECLARE_OOXMLIMPORT_TEST(testTdf113946, "tdf113946.docx")
  {
+--- a/xmlsecurity/qa/unit/signing/signing.cxx  2018-01-27 18:21:08.228434985 +0100
++++ b/xmlsecurity/qa/unit/signing/signing.cxx  2018-01-27 18:21:37.428824309 +0100
+@@ -114,7 +114,7 @@
+     /// Test a typical broken ODF signature where the XML dsig hash is corrupted.
+     void testODFBrokenDsigGPG();
+     /// Test loading an encrypted ODF document
+-    void testODFEncryptedGPG();
++//    void testODFEncryptedGPG();
+ #endif
+     CPPUNIT_TEST_SUITE(SigningTest);
+     CPPUNIT_TEST(testDescription);
+@@ -143,7 +143,7 @@
+     CPPUNIT_TEST(testODFUntrustedGoodGPG);
+     CPPUNIT_TEST(testODFBrokenStreamGPG);
+     CPPUNIT_TEST(testODFBrokenDsigGPG);
+-    CPPUNIT_TEST(testODFEncryptedGPG);
++//    CPPUNIT_TEST(testODFEncryptedGPG);
+ #endif
+     CPPUNIT_TEST_SUITE_END();
+@@ -743,14 +743,14 @@
+     CPPUNIT_ASSERT_EQUAL(static_cast<int>(SignatureState::BROKEN), static_cast<int>(pObjectShell->GetDocumentSignatureState()));
+ }
+-void SigningTest::testODFEncryptedGPG()
++/*void SigningTest::testODFEncryptedGPG()
+ {
+     createDoc(m_directories.getURLFromSrc(DATA_DIRECTORY) + "encryptedGPG.odt");
+     SfxBaseModel* pBaseModel = dynamic_cast<SfxBaseModel*>(mxComponent.get());
+     CPPUNIT_ASSERT(pBaseModel);
+     SfxObjectShell* pObjectShell = pBaseModel->GetObjectShell();
+     CPPUNIT_ASSERT(pObjectShell);
+-}
++}*/
+ #endif