app-office/libreoffice: Re-shuffle disable-flaky-tests
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 29 May 2018 14:58:24 +0000 (16:58 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 29 May 2018 14:58:24 +0000 (16:58 +0200)
Closes: https://bugs.gentoo.org/656846
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-office/libreoffice/files/libreoffice-6.0.3.2-disable-flaky-tests-1.patch [moved from app-office/libreoffice/files/libreoffice-6.0.3.2-disable-flaky-tests.patch with 87% similarity]
app-office/libreoffice/files/libreoffice-6.0.3.2-disable-flaky-tests-2.patch [new file with mode: 0644]
app-office/libreoffice/libreoffice-6.0.3.2.ebuild
app-office/libreoffice/libreoffice-6.0.4.2.ebuild
app-office/libreoffice/libreoffice-6.0.9999.ebuild

similarity index 87%
rename from app-office/libreoffice/files/libreoffice-6.0.3.2-disable-flaky-tests.patch
rename to app-office/libreoffice/files/libreoffice-6.0.3.2-disable-flaky-tests-1.patch
index b25e4fc3ae5af7dc5cfa17e813300b08430deb8e..03421c5e12be3808b1206eadf5e6bffda64ed1e9 100644 (file)
@@ -214,40 +214,3 @@ 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
diff --git a/app-office/libreoffice/files/libreoffice-6.0.3.2-disable-flaky-tests-2.patch b/app-office/libreoffice/files/libreoffice-6.0.3.2-disable-flaky-tests-2.patch
new file mode 100644 (file)
index 0000000..55f2d8a
--- /dev/null
@@ -0,0 +1,37 @@
+--- 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
index a7d6373ce84d04f721d0c8cffc3be27f6bf8a308..837b49a029d8626ad473951be1eb5e748e80934f 100644 (file)
@@ -245,7 +245,7 @@ PATCHES=(
        # not upstreamable stuff
        "${FILESDIR}/${PN}-5.4-system-pyuno.patch"
        "${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
-       "${FILESDIR}/${PN}-6.0.3.2-disable-flaky-tests.patch" #bug 656676
+       "${FILESDIR}"/${PN}-6.0.3.2-disable-flaky-tests-{1,2}.patch #bug 656676
        # 6.0 branch
        "${FILESDIR}/${P}-poppler-0.64.patch"
 
index 433d077bc2c2e979e2eebe0cae5ae9d58b74a5c4..a7f087f49e2663649873e252b65166d4cdf5809f 100644 (file)
@@ -246,7 +246,7 @@ PATCHES=(
        # not upstreamable stuff
        "${FILESDIR}/${PN}-5.4-system-pyuno.patch"
        "${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
-       "${FILESDIR}/${PN}-6.0.3.2-disable-flaky-tests.patch" #bug 656676
+       "${FILESDIR}/${PN}-6.0.3.2-disable-flaky-tests-1.patch" #bug 656676
 
        # TODO: upstream
        "${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch"
index 433d077bc2c2e979e2eebe0cae5ae9d58b74a5c4..a7f087f49e2663649873e252b65166d4cdf5809f 100644 (file)
@@ -246,7 +246,7 @@ PATCHES=(
        # not upstreamable stuff
        "${FILESDIR}/${PN}-5.4-system-pyuno.patch"
        "${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
-       "${FILESDIR}/${PN}-6.0.3.2-disable-flaky-tests.patch" #bug 656676
+       "${FILESDIR}/${PN}-6.0.3.2-disable-flaky-tests-1.patch" #bug 656676
 
        # TODO: upstream
        "${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch"