[DRE-commits] [ruby-mono-logger] 04/04: Make tests run

Balasankar C balasankarc-guest at moszumanska.debian.org
Thu May 21 12:42:07 UTC 2015


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

balasankarc-guest pushed a commit to branch master
in repository ruby-mono-logger.

commit 4868140b835b729c9c817dc34b0616fe50514ac8
Author: Balasankar C <balasankarc at autistici.org>
Date:   Thu May 21 18:03:20 2015 +0530

    Make tests run
---
 debian/ruby-test-files.yaml |  2 --
 debian/ruby-tests.rake      |  7 +++++++
 debian/tests/control.ex     | 13 -------------
 3 files changed, 7 insertions(+), 15 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index bf736f0..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- test/mri_logger_test.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..45796dd
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs << 'test'
+  t.test_files = FileList['test/*_test.rb']
+end
diff --git a/debian/tests/control.ex b/debian/tests/control.ex
deleted file mode 100644
index 429a392..0000000
--- a/debian/tests/control.ex
+++ /dev/null
@@ -1,13 +0,0 @@
-# AUTOGENERATED FILE
-#
-# As of autopkgtest 3.5, Ruby packages that use gem2deb are automatically
-# detected, and if debian/tests/control does not exist the contents below will
-# be assumed (with the exception of gem2deb being filtered out from
-# @builddeps@):
-
-Test-Command: gem2deb-test-runner --autopkgtest 2>&1
-Depends: @, @builddeps@, gem2deb-test-runner
-
-# if you would need to change something to the above, to that and rename this
-# file to `control`. Otherwise, you should probably delete this file
-# (recommended).

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



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