[DRE-commits] [ruby-kramdown] 06/08: add patch to skip tests using unavailable math engines

Cédric Boutillier boutil at moszumanska.debian.org
Mon Jul 20 07:28:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-kramdown.

commit a42e9c200bf1c072b19922d5f60d6d9c4394c053
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Jul 20 08:38:52 2015 +0200

    add patch to skip tests using unavailable math engines
---
 debian/patches/series                          |  1 +
 debian/patches/skip_missing_math_engines.patch | 40 ++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..179da66
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+skip_missing_math_engines.patch
diff --git a/debian/patches/skip_missing_math_engines.patch b/debian/patches/skip_missing_math_engines.patch
new file mode 100644
index 0000000..c139f3d
--- /dev/null
+++ b/debian/patches/skip_missing_math_engines.patch
@@ -0,0 +1,40 @@
+Description" Skip tests with math using unavailable math engines
+Forwarded: no
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2015-07-20
+
+--- a/test/test_files.rb
++++ b/test/test_files.rb
+@@ -19,7 +19,15 @@
+   EXCLUDE_KD_FILES = [('test/testcases/block/04_header/with_auto_ids.text' if RUBY_VERSION <= '1.8.6'), # bc of dep stringex not working
+                       ('test/testcases/span/03_codespan/highlighting-rouge.text' if RUBY_VERSION < '2.0'), #bc of rouge
+                       ('test/testcases/block/06_codeblock/highlighting-rouge.text' if RUBY_VERSION < '2.0'), #bc of rouge
+-
++'test/testcases/block/15_math/gh_128.text',
++'test/testcases/block/15_math/itex2mml.text',
++'test/testcases/block/15_math/mathjaxnode_notexhints.text',
++'test/testcases/block/15_math/mathjaxnode_semantics.text',
++'test/testcases/block/15_math/mathjaxnode.text',
++'test/testcases/block/15_math/ritex.text',
++'test/testcases/span/math/itex2mml.text',
++'test/testcases/span/math/mathjaxnode.text',
++'test/testcases/span/math/ritex.text',
+                      ].compact
+ 
+   # Generate test methods for kramdown-to-xxx conversion
+@@ -286,6 +294,15 @@
+                        'test/testcases/span/text_substitutions/typography.text',
+                        ('test/testcases/span/03_codespan/highlighting-rouge.text' if RUBY_VERSION < '2.0'),
+                        ('test/testcases/block/06_codeblock/highlighting-rouge.text' if RUBY_VERSION < '2.0'), #bc of rouge
++'test/testcases/block/15_math/gh_128.text',
++'test/testcases/block/15_math/itex2mml.text',
++'test/testcases/block/15_math/mathjaxnode_notexhints.text',
++'test/testcases/block/15_math/mathjaxnode_semantics.text',
++'test/testcases/block/15_math/mathjaxnode.text',
++'test/testcases/block/15_math/ritex.text',
++'test/testcases/span/math/itex2mml.text',
++'test/testcases/span/math/mathjaxnode.text',
++'test/testcases/span/math/ritex.text',
+                       ].compact
+ 
+   # Generate test methods for gfm-to-html conversion

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-kramdown.git



More information about the Pkg-ruby-extras-commits mailing list