diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-29 00:42:51 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-29 00:42:51 +0200 |
commit | fdcff37daafb24149348e4b531117d15c48ca3ec (patch) | |
tree | 79711e0e3a3163d4373a9292a2604a04e24fac20 /community/ruby-mathematical/use-system-mtex2mml-fixtures.patch | |
parent | 0d42953156ad36105b7f484bd96b25fe2be8dd0e (diff) | |
download | aports-fdcff37daafb24149348e4b531117d15c48ca3ec.tar.bz2 aports-fdcff37daafb24149348e4b531117d15c48ca3ec.tar.xz |
community/ruby-mathematical: move from testing
Diffstat (limited to 'community/ruby-mathematical/use-system-mtex2mml-fixtures.patch')
-rw-r--r-- | community/ruby-mathematical/use-system-mtex2mml-fixtures.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch b/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch new file mode 100644 index 0000000000..76621f1f8e --- /dev/null +++ b/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch @@ -0,0 +1,11 @@ +--- a/test/test_helper.rb ++++ b/test/test_helper.rb +@@ -6,7 +6,7 @@ + require 'pp' + require 'pry-byebug' + +-MTEX2MML_FIXTURES_DIR = File.join('ext', 'mathematical', 'mtex2MML', 'tests', 'fixtures') ++MTEX2MML_FIXTURES_DIR = '/usr/share/mtex2MML/fixtures' + MATHJAX_TEST_DIR = File.join(MTEX2MML_FIXTURES_DIR, 'MathJax') + MATHJAX_TEX_DIR = File.join(MATHJAX_TEST_DIR, 'LaTeXToMathML-tex') + TRAVIS_OSX = ENV['TRAVIS'] && ENV['TRAVIS_OS_NAME'] == 'osx' |