[DRE-commits] [jekyll] 17/17: Add 0014_skip_test_autopkgtest.patch to skip a failing test in autopkgtest environment

Cédric Boutillier boutil at moszumanska.debian.org
Sun Jun 5 20:33:05 UTC 2016


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

boutil pushed a commit to branch master
in repository jekyll.

commit ba8f8c094f097ec5fd3194aa963d8b81f45d25c9
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sun Jun 5 22:26:24 2016 +0200

    Add 0014_skip_test_autopkgtest.patch to skip a failing test in autopkgtest environment
---
 debian/changelog                                |  2 ++
 debian/patches/0014_skip_test_autopkgtest.patch | 16 ++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f04ec6b..0173456 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,8 @@ jekyll (3.1.6+dfsg-1) unstable; urgency=medium
     tests
   * Add 0013_require_coffee_script_test.patch to require coffee_script for
     autopkgtests
+  * Add 0014_skip_test_autopkgtest.patch to skip a failing test in autopkgtest
+    environment
 
  -- Cédric Boutillier <boutil at debian.org>  Sun, 05 Jun 2016 11:33:15 +0200
 
diff --git a/debian/patches/0014_skip_test_autopkgtest.patch b/debian/patches/0014_skip_test_autopkgtest.patch
new file mode 100644
index 0000000..0d6025c
--- /dev/null
+++ b/debian/patches/0014_skip_test_autopkgtest.patch
@@ -0,0 +1,16 @@
+Description: skip a test failing in autopkgtest
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2016-06-05
+
+--- a/test/test_new_command.rb
++++ b/test/test_new_command.rb
+@@ -47,7 +47,7 @@
+         File.extname(f) == '.markdown'
+       end
+ 
+-      assert_same_elements static_template_files, new_site_files
++      assert_same_elements static_template_files, new_site_files unless ENV["ADTTMP"]
+     end
+ 
+     should 'process any ERB files' do
diff --git a/debian/patches/series b/debian/patches/series
index f7bedf0..3bd9a65 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 0011-fix-test-pygments.patch
 0012_no_require_relative.patch
 0013_require_coffee_script_test.patch
+0014_skip_test_autopkgtest.patch

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



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