[DRE-commits] [ruby-thread-order] 01/06: Use ruby method to run the tests

Cédric Boutillier boutil at moszumanska.debian.org
Sat Jun 13 21:17:47 UTC 2015


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

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

commit caca7f8d896ed1e42e211a79c61b784808c7b247
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Jun 13 22:51:35 2015 +0200

    Use ruby method to run the tests
---
 debian/ruby-tests.rake | 7 -------
 debian/ruby-tests.rb   | 1 +
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index dcc1601..0000000
--- a/debian/ruby-tests.rake
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'rspec/core/rake_task'
-
-RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern = './spec/**/*_spec.rb'
-end
-
-task :default => :spec
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..8450987
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1 @@
+system("#{ENV['RUBY_TEST_BIN']} --disable-gems -S rspec")

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



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