[DRE-commits] [ruby-solve] 09/11: Patch: do not run test for gecode solver

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Thu Jun 25 21:46:13 UTC 2015


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

tsfgnu-guest pushed a commit to branch master
in repository ruby-solve.

commit 5702f89843fe12edcf67ba5b3b6186968c833148
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Wed Jun 24 20:40:52 2015 +0300

    Patch: do not run test for gecode solver
    
      until updated version is packaged
---
 .../0002-Do-not-run-tests-for-Gecode-solver.patch  | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/0002-Do-not-run-tests-for-Gecode-solver.patch b/debian/patches/0002-Do-not-run-tests-for-Gecode-solver.patch
new file mode 100644
index 0000000..7c1f868
--- /dev/null
+++ b/debian/patches/0002-Do-not-run-tests-for-Gecode-solver.patch
@@ -0,0 +1,30 @@
+From: Hleb Valoshka <375gnu at gmail.com>
+Date: Wed, 24 Jun 2015 20:40:22 +0300
+Subject: Do not run tests for Gecode solver
+
+---
+ spec/acceptance/solutions_spec.rb     | 2 +-
+ spec/unit/solve/gecode_solver_spec.rb | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/spec/acceptance/solutions_spec.rb b/spec/acceptance/solutions_spec.rb
+index 9961586..d09b17e 100644
+--- a/spec/acceptance/solutions_spec.rb
++++ b/spec/acceptance/solutions_spec.rb
+@@ -314,4 +314,4 @@ describe "Solutions", :gecode do
+       end
+     end
+   end
+-end
++end if false
+diff --git a/spec/unit/solve/gecode_solver_spec.rb b/spec/unit/solve/gecode_solver_spec.rb
+index d188577..1375d81 100644
+--- a/spec/unit/solve/gecode_solver_spec.rb
++++ b/spec/unit/solve/gecode_solver_spec.rb
+@@ -202,5 +202,5 @@ describe Solve::GecodeSolver, :gecode do
+       problem_data["demands"].should =~ expected_demands
+     end
+   end
+-end
++end if false
+ 
diff --git a/debian/patches/series b/debian/patches/series
index d043332..60a709c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Do-not-require-bundler.patch
+0002-Do-not-run-tests-for-Gecode-solver.patch

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



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