...
 
Commits (3)
ruby-backports (3.11.1-2) unstable; urgency=medium
* Team upload.
* Add patch to skip activesupport test as advised by upstream. Closes: #918600
-- Lucas Kanashiro <lucas.kanashiro@collabora.com> Mon, 25 Feb 2019 08:59:10 -0300
ruby-backports (3.11.1-1) unstable; urgency=medium
* Team upload
......
From: Lucas Kanashiro <lucas.kanashiro@collabora.com>
Date: Mon, 25 Feb 2019 08:46:44 -0300
Subject: Skip activesupport test
This test can be safely skipped as explained by the upstream here
https://github.com/marcandre/backports/issues/127
---
test/_backport_guards_test.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/_backport_guards_test.rb b/test/_backport_guards_test.rb
index c7b6550..1b8026c 100644
--- a/test/_backport_guards_test.rb
+++ b/test/_backport_guards_test.rb
@@ -154,7 +154,7 @@ class AAA_TestBackportGuards < Test::Unit::TestCase
assert_equal 1, [1,2,3].each.next # [Bug #70]
end
- def test_rails
+ def est_rails
require 'active_support/all'
$stderr.string = '' # disregard warnings by Rails
before = digest
use-system-library-paths-when-running-under-autopkgtest
0002-Skip-activesupport-test.patch
Description: Use system library paths when running under autopkgtest
Author: Jérémy Bobbio <lunar@debian.org>
From: =?utf-8?b?SsOpcsOpbXkgQm9iYmlv?= <lunar@debian.org>
Date: Mon, 25 Feb 2019 08:45:50 -0300
Subject: Use system library paths when running under autopkgtest
Forwarded: not-needed
Last-Update: 2015-09-09
---
test/_backport_guards_test.rb | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/test/_backport_guards_test.rb b/test/_backport_guards_test.rb
index ee05355..39d5250 100644
index e62d377..c7b6550 100644
--- a/test/_backport_guards_test.rb
+++ b/test/_backport_guards_test.rb
@@ -80,6 +80,14 @@ class AAA_TestBackportGuards < Test::Unit::TestCase
@@ -83,6 +83,14 @@ class AAA_TestBackportGuards < Test::Unit::TestCase
delta unless delta.empty?
end
......@@ -22,7 +27,7 @@ index ee05355..39d5250 100644
# Order super important!
def test__1_abbrev_can_be_required_before_backports
assert require('abbrev')
@@ -103,7 +111,7 @@ class AAA_TestBackportGuards < Test::Unit::TestCase
@@ -110,7 +118,7 @@ class AAA_TestBackportGuards < Test::Unit::TestCase
end
def test_setlib_load_correctly_after_requiring_backports
......@@ -31,7 +36,7 @@ index ee05355..39d5250 100644
assert_equal false, $LOADED_FEATURES.include?(path)
assert_equal true, require('matrix')
assert_equal true, $bogus.include?("matrix")
@@ -113,7 +121,7 @@ class AAA_TestBackportGuards < Test::Unit::TestCase
@@ -120,7 +128,7 @@ class AAA_TestBackportGuards < Test::Unit::TestCase
def test_setlib_load_correctly_before_requiring_backports_test
assert_equal true, $bogus.include?("abbrev")
......@@ -40,7 +45,7 @@ index ee05355..39d5250 100644
assert_equal true, $LOADED_FEATURES.include?(path)
assert_equal false, require('abbrev')
end
@@ -124,7 +132,7 @@ class AAA_TestBackportGuards < Test::Unit::TestCase
@@ -131,7 +139,7 @@ class AAA_TestBackportGuards < Test::Unit::TestCase
end
def test_load_correctly_new_libraries_test
......