[DRE-commits] [ruby-term-ansicolor] 05/08: use the Ruby method to run the test suite

Cédric Boutillier boutil at moszumanska.debian.org
Wed May 14 08:51:33 UTC 2014


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

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

commit b264bc7cee973195be0ef783686922989e16bc67
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed May 14 09:46:41 2014 +0200

    use the Ruby method to run the test suite
---
 debian/ruby-test-files.yaml | 2 --
 debian/ruby-tests.rb        | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index a786483..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
---- 
-- tests/ansicolor_test.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..b61ac4c
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,3 @@
+$: << "tests/"
+
+Dir.glob("tests/*_test.rb").each { |f| require f }

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



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