File: disable-pathops-test.patch

package info (click to toggle)
ufo2ft 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,080 kB
  • sloc: python: 6,733; makefile: 10
file content (33 lines) | stat: -rw-r--r-- 1,247 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: Yao Wei (魏銘廷) <mwei@debian.org>
Date: Sat, 15 Dec 2018 10:33:03 +0800
Subject: disable pathops test
Origin: vendor
Forwarded: not-needed

This will disable tests that requires skia-pathops, since skia is not in Debian
yet.

---
 tests/integration_test.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/integration_test.py b/tests/integration_test.py
index 41e06ee..eae1b4b 100644
--- a/tests/integration_test.py
+++ b/tests/integration_test.py
@@ -94,6 +94,7 @@ class IntegrationTest(object):
         otf = compileOTF(testufo, removeOverlaps=True)
         expectTTX(otf, "TestFont-NoOverlaps-CFF.ttx")
 
+    @pytest.mark.skip(reason="skia-pathops is unavailable in debian yet")
     def test_removeOverlaps_CFF_pathops(self, testufo):
         otf = compileOTF(
             testufo, removeOverlaps=True, overlapsBackend="pathops"
@@ -104,6 +105,7 @@ class IntegrationTest(object):
         ttf = compileTTF(testufo, removeOverlaps=True)
         expectTTX(ttf, "TestFont-NoOverlaps-TTF.ttx")
 
+    @pytest.mark.skip(reason="skia-pathops is unavailable in debian yet")
     def test_removeOverlaps_pathops(self, testufo):
         ttf = compileTTF(
             testufo, removeOverlaps=True, overlapsBackend="pathops"