[graphite2] 01/02: temporarily disable fnttxtrender-tests since fonttools lost it's python2 module
Rene Engelhard
rene at moszumanska.debian.org
Tue Sep 19 21:35:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
rene pushed a commit to branch master
in repository graphite2.
commit 0b2c7fc2b094cfae4026965e76e94c9c728ce3be
Author: Rene Engelhard <rene at rene-engelhard.de>
Date: Tue Sep 19 21:20:16 2017 +0000
temporarily disable fnttxtrender-tests since fonttools lost it's python2 module
---
debian/patches/series | 1 +
.../patches/temporarily-disable-fnttxtrender-tests.diff | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index c78e3c4..705b6ad 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ no-icons.diff
test-timeout.diff
reproducible-build.diff
#fnttxtrender-python3.diff
+temporarily-disable-fnttxtrender-tests.diff
diff --git a/debian/patches/temporarily-disable-fnttxtrender-tests.diff b/debian/patches/temporarily-disable-fnttxtrender-tests.diff
new file mode 100644
index 0000000..72c99ab
--- /dev/null
+++ b/debian/patches/temporarily-disable-fnttxtrender-tests.diff
@@ -0,0 +1,17 @@
+--- graphite2-1.3.10.orig/Graphite.cmake
++++ graphite2-1.3.10/Graphite.cmake
+@@ -112,14 +112,6 @@ function(cmptest TESTNAME FONTFILE TEXTF
+ if (EXISTS ${PROJECT_SOURCE_DIR}/standards/${TESTNAME}${CMAKE_SYSTEM_NAME}.json)
+ set(PLATFORM_TEST_SUFFIX ${CMAKE_SYSTEM_NAME})
+ endif (EXISTS ${PROJECT_SOURCE_DIR}/standards/${TESTNAME}${CMAKE_SYSTEM_NAME}.json)
+- if ((NOT GRAPHITE2_NFILEFACE) AND ((NOT GRAPHITE2_ASAN) OR CMAKE_COMPILER_IS_GNUCXX))
+- add_test(NAME ${TESTNAME} COMMAND python ${PROJECT_SOURCE_DIR}/fnttxtrender --graphite_library=$<TARGET_FILE:graphite2> -t ${PROJECT_SOURCE_DIR}/texts/${TEXTFILE} -o ${PROJECT_BINARY_DIR}/${TESTNAME}.json -c ${PROJECT_SOURCE_DIR}/standards/${TESTNAME}${PLATFORM_TEST_SUFFIX}.json ${ARGN} ${PROJECT_SOURCE_DIR}/fonts/${FONTFILE})
+- if (GRAPHITE2_ASAN)
+- set_property(TEST ${TESTNAME} APPEND
+- PROPERTY ENVIRONMENT "ASAN_SYMBOLIZER_PATH=${ASAN_SYMBOLIZER}"
+- "LD_PRELOAD=libasan.so.1")
+- endif (GRAPHITE2_ASAN)
+- endif ((NOT GRAPHITE2_NFILEFACE) AND ((NOT GRAPHITE2_ASAN) OR CMAKE_COMPILER_IS_GNUCXX))
+ endfunction(cmptest)
+
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/graphite2.git
More information about the Pkg-openoffice-commits
mailing list