[DRE-commits] [ruby-neovim] 01/01: Add a patch to disable a failing test in chroots (#817236)
Jason Pleau
jpleau-guest at moszumanska.debian.org
Fri Dec 9 23:13:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
jpleau-guest pushed a commit to branch master
in repository ruby-neovim.
commit 0b30af464989d698d68cf1dfe73603c669e8761d
Author: Jason Pleau <jason at jpleau.ca>
Date: Fri Dec 9 18:13:04 2016 -0500
Add a patch to disable a failing test in chroots (#817236)
---
debian/patches/disable_failing_test_schroot.patch | 29 +++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 30 insertions(+)
diff --git a/debian/patches/disable_failing_test_schroot.patch b/debian/patches/disable_failing_test_schroot.patch
new file mode 100644
index 0000000..7432113
--- /dev/null
+++ b/debian/patches/disable_failing_test_schroot.patch
@@ -0,0 +1,29 @@
+Description: Disable the 'fails when attached to a TTY test'
+ The tests fails when building in a chroot, see debian bug #817236
+ for more info.
+Author: Jason Pleau <jason at jpleau.ca>
+
+--- a/spec/acceptance/neovim-ruby-host_spec.rb
++++ b/spec/acceptance/neovim-ruby-host_spec.rb
+@@ -14,14 +14,14 @@
+ end
+ end
+
+- it "fails when attached to a TTY" do
+- PTY.spawn(host_exe) do |rd, wr, pid|
+- expect(rd.gets).to match(/can't run.+interactively/i)
++ #it "fails when attached to a TTY" do
++ # PTY.spawn(host_exe) do |rd, wr, pid|
++ # expect(rd.gets).to match(/can't run.+interactively/i)
+
+- _, status = Process.waitpid2(pid)
+- expect(status.exitstatus).to be(1)
+- end
+- end
++ # _, status = Process.waitpid2(pid)
++ # expect(status.exitstatus).to be(1)
++ # end
++ #end
+
+ it "loads and runs plugins from Ruby source files" do
+ plugin_path = Support.file_path("plugin1.rb")
diff --git a/debian/patches/series b/debian/patches/series
index 9b06825..1cb5404 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+disable_failing_test_schroot.patch
fix_current_window_test.patch
remove_coveralls_pry_bundler.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-neovim.git
More information about the Pkg-ruby-extras-commits
mailing list