[DRE-commits] [nanoc] 06/21: refresh skip_tests_autopkgtest.patch
Cédric Boutillier
boutil at moszumanska.debian.org
Thu Jan 5 14:04:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository nanoc.
commit 48247755eb311b53f5847e728e1bc2c68e31fc85
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Dec 28 22:56:23 2016 +0100
refresh skip_tests_autopkgtest.patch
---
debian/patches/skip_tests_autopkgtest.patch | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/debian/patches/skip_tests_autopkgtest.patch b/debian/patches/skip_tests_autopkgtest.patch
index eb8fcf0..4882e8f 100644
--- a/debian/patches/skip_tests_autopkgtest.patch
+++ b/debian/patches/skip_tests_autopkgtest.patch
@@ -1,42 +1,44 @@
Description: skip tests which are failing in autopkgtest because of missing context
Author: Cédric Boutillier <boutil at debian.org>
Forwarded: no
-Last-Update: 2016-06-06
+Last-Update: 2016-12-29
--- a/test/base/test_context.rb
+++ b/test/base/test_context.rb
-@@ -21,5 +21,5 @@
+@@ -23,7 +23,7 @@
# Run
assert_examples_correct 'Nanoc::Int::Context#initialize'
- end
-+ end unless ENV["ADTTMP"]
- end
++ end unless ENV["AUTOPKGTEST_TMP"]
+
+ def test_include
+ context = Nanoc::Int::Context.new({})
--- a/test/base/test_directed_graph.rb
+++ b/test/base/test_directed_graph.rb
-@@ -281,5 +281,5 @@
+@@ -326,5 +326,5 @@
def test_example
- YARD.parse(LIB_DIR + '/nanoc/base/directed_graph.rb')
+ YARD.parse(LIB_DIR + '/nanoc/base/entities/directed_graph.rb')
assert_examples_correct 'Nanoc::Int::DirectedGraph'
- end
-+ end unless ENV["ADTTMP"]
++ end unless ENV["AUTOPKGTEST_TMP"]
end
--- a/test/cli/test_cli.rb
+++ b/test/cli/test_cli.rb
-@@ -130,7 +130,7 @@
+@@ -132,7 +132,7 @@
Nanoc::CLI.load_command_at(root_dir + '/lib/nanoc/cli/commands/create-site.rb')
ensure
Encoding.default_external = Encoding::UTF_8
- end
-+ end unless ENV["ADTTMP"]
++ end unless ENV["AUTOPKGTEST_TMP"]
def test_after_setup
$after_setup_success = false
--- a/test/helpers/test_link_to.rb
+++ b/test/helpers/test_link_to.rb
-@@ -50,4 +50,4 @@
+@@ -52,4 +52,4 @@
# Run
assert_examples_correct 'Nanoc::Helpers::LinkTo#relative_path_to'
end
-end
-+end unless ENV["ADTTMP"]
++end unless ENV["AUTOPKGTEST_TMP"]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/nanoc.git
More information about the Pkg-ruby-extras-commits
mailing list