[DRE-commits] [ruby-org] 297/303: Properly invoke 'spec' target to run the test suite

Jérémy Bobbio lunar at alioth.debian.org
Fri Aug 9 17:34:16 UTC 2013


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

lunar pushed a commit to branch master
in repository ruby-org.

commit a2a31d973756e920d9df048050b32c0af212772c
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Fri Aug 9 18:44:44 2013 +0200

    Properly invoke 'spec' target to run the test suite
---
 debian/ruby-tests.rb |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 1e56d72..40dbf0e 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1 +1,5 @@
-exec("rake spec")
+require 'rake'
+app = Rake.application
+app.init
+app.load_rakefile
+app['spec'].invoke

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



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