[DRE-commits] [ruby-color-tools] 07/10: use the Ruby method to run the tests
Cédric Boutillier
boutil at moszumanska.debian.org
Sat May 10 22:36:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-color-tools.
commit be5e6ea398c4fa0cd6ae45ad15f1dc99da433f3b
Author: Cédric Boutillier <boutil at debian.org>
Date: Sun May 11 00:02:57 2014 +0200
use the Ruby method to run the tests
---
debian/ruby-test-files.yaml | 11 -----------
debian/ruby-tests.rb | 3 +++
2 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index a32ca1b..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
----
-- test/test_adobecolor.rb
-- test/test_cmyk.rb
-- test/test_color.rb
-- test/test_css.rb
-- test/test_gimp.rb
-- test/test_grayscale.rb
-- test/test_hsl.rb
-- test/test_monocontrast.rb
-- test/test_rgb.rb
-- test/test_yiq.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..2b26d5a
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,3 @@
+$: << "test/"
+
+Dir.glob("test/test_*.rb").each { |f| require f }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-color-tools.git
More information about the Pkg-ruby-extras-commits
mailing list