[DRE-commits] [ruby-oj] 09/11: Run tests by groups, like upstream

Cédric Boutillier boutil at moszumanska.debian.org
Sat Nov 25 23:45:32 UTC 2017


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

boutil pushed a commit to branch master
in repository ruby-oj.

commit 23c0d75d44d99caf4afc8fda79f6ac1583d4d211
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sun Nov 26 00:22:26 2017 +0100

    Run tests by groups, like upstream
---
 debian/changelog     | 1 +
 debian/ruby-tests.rb | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fb6c6e7..40e900f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-oj (3.3.9-1) unstable; urgency=medium
   * New upstream version 3.3.6
   * Refresh 01_dont_mess_with_loadpath.patch
   * Bump Standards-Version to 4.1.1 (no changes needed)
+  * Run tests by groups, like upstream
 
  -- Cédric Boutillier <boutil at debian.org>  Mon, 06 Nov 2017 10:00:56 +0100
 
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 90c623c..6e5f8e3 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -8,7 +8,8 @@ SKIPPED_TESTS = [
 ]
 
 success=true
-Dir.glob("./test/{isolated,.}/test*.rb").each do |f|
+#Dir.glob("./test/{isolated,.}/test*.rb").each do |f|
+["tests", "tests_mimic", "tests_mimic_addition"].map {|s| "test/#{s}.rb"}.each do |f|
   # we'd like to not have rails in Build-Depends, but this means we can't test the rails integration.
   next if SKIPPED_TESTS.include?(f)
   puts "-------- running #{f} test ------- "

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



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