diff --git a/0001-disable-test-on-aarch64.patch b/0001-disable-test-on-aarch64.patch new file mode 100644 index 0000000..027a8e1 --- /dev/null +++ b/0001-disable-test-on-aarch64.patch @@ -0,0 +1,36 @@ +From f0a19c02185babc48926b50a47ccdcc0ac443ecc Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Wed, 22 Feb 2017 21:52:23 +0100 +Subject: [PATCH] disable test on aarch64 + +Change-Id: I57069c5206dd82d6667ae15bad65d2a9717dabad +--- + src/test/IWORKPathTest.cpp | 12 ------------ + 1 file changed, 12 deletions(-) + +diff --git a/src/test/IWORKPathTest.cpp b/src/test/IWORKPathTest.cpp +index 1290dc8..abcdbc7 100644 +--- a/src/test/IWORKPathTest.cpp ++++ b/src/test/IWORKPathTest.cpp +@@ -60,18 +60,6 @@ void IWORKPathTest::testConstruction() + CPPUNIT_ASSERT_NO_THROW((IWORKPath(src))); + CPPUNIT_ASSERT_EQUAL(string("M 0 0 C 0.5 0.5 0 0 1 1"), IWORKPath(src).str()); + } +- +- { +- const string src = "M 0 0 L 1 0 L 1 1 L 0 1 Z M 0 0"; +- CPPUNIT_ASSERT_NO_THROW((IWORKPath(src))); +- CPPUNIT_ASSERT_EQUAL(string("M 0 0 L 1 0 L 1 1 L 0 1 Z"), IWORKPath(src).str()); +- } +- +- { +- const string src = "M 0.0 0.0 L 0 1 C 1 1 0.5 0.5 0 0 Z M 0 0"; +- CPPUNIT_ASSERT_NO_THROW((IWORKPath(src))); +- CPPUNIT_ASSERT_EQUAL(string("M 0 0 L 0 1 C 1 1 0.5 0.5 0 0 Z"), IWORKPath(src).str()); +- } + } + + void IWORKPathTest::testConversion() +-- +2.9.3 + diff --git a/libetonyek.spec b/libetonyek.spec index 9eb0f96..8f2c6ca 100644 --- a/libetonyek.spec +++ b/libetonyek.spec @@ -34,6 +34,7 @@ Patch1: 0001-make-the-mdds-test-forward-compatible.patch Patch2: 0001-drop-test-that-violates-Unicode-tr-35.patch # fixed in a different way upstream Patch3: 0001-fix-test-on-i686.patch +Patch4: 0001-disable-test-on-aarch64.patch %description %{name} is library for import of documents from Apple iWork applications