[DRE-commits] [ruby-whenever] 03/08: run tests with rake
Antonio Terceiro
terceiro at moszumanska.debian.org
Wed Feb 4 18:35:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch debian/wheezy
in repository ruby-whenever.
commit dd6297f77e761366a59aaa8700d9d242a00c6437
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date: Wed Feb 4 12:53:45 2015 -0200
run tests with rake
---
debian/ruby-test-files.yaml | 11 -----------
debian/ruby-tests.rake | 9 +++++++++
2 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 0090af6..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
----
-- test/functional/command_line_test.rb
-- test/functional/output_at_test.rb
-- test/functional/output_default_defined_jobs_test.rb
-- test/functional/output_defined_job_test.rb
-- test/functional/output_env_test.rb
-- test/functional/output_jobs_for_roles_test.rb
-- test/functional/output_redirection_test.rb
-- test/unit/capistrano_support_test.rb
-- test/unit/cron_test.rb
-- test/unit/job_test.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..24a4b8a
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,9 @@
+require 'gem2deb/rake/testtask'
+Gem2Deb::Rake::TestTask.new do |test|
+ test.libs << 'test'
+ test.pattern = 'test/{functional,unit}/**/*_test.rb'
+ test.verbose = true
+end
+
+task :default => :test
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-whenever.git
More information about the Pkg-ruby-extras-commits
mailing list