Commit 0bd3c3df authored by Jakub Jirutka's avatar Jakub Jirutka

community/ruby-mathematical: fix and enable tests

parent 71cb44c0
......@@ -12,7 +12,6 @@ depends="ruby ruby-enum"
makedepends="cmake lasem-dev mtex2mml-dev ruby-dev"
checkdepends="mtex2mml-fixtures ruby-io-console ruby-irb ruby-json
ruby-minitest ruby-nokogiri ruby-rake"
options="!check" # TODO: tests fails with ruby 2.7.
source="$pkgname-$pkgver.tar.gz::https://github.com/gjtorikian/$_gemname/archive/v$pkgver.tar.gz
use-system-mtex2mml-fixtures.patch"
builddir="$srcdir/$_gemname-$pkgver"
......@@ -21,7 +20,7 @@ prepare() {
default_prepare
# Don't load bundler, it messes with GEM_PATH.
sed -i "/^require\s*[\"']bundler\/setup/d" test/test_helper.rb
sed -i "/^require\s*[\"']bundler/d" Rakefile test/test_helper.rb
# Some tests in this file are unstable (randomly fails).
# https://github.com/gjtorikian/mathematical/issues/73
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment