[DRE-commits] [ruby-faker] 05/05: Make tests run

Balasankar C balasankarc-guest at moszumanska.debian.org
Sat Jul 11 11:40:45 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-faker.

commit 48a5b8565e6408273be1a24431c2077306816cef
Author: Balasankar C <balasankarc at autistici.org>
Date:   Sat Jul 11 17:05:22 2015 +0530

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

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 0333906..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
----
-- test/test_array_sample_method_compat.rb
-- test/test_avatar.rb
-- test/test_en_au_ocker_locale.rb
-- test/test_en_locale.rb
-- test/test_en_us_locale.rb
-- test/test_es_locale.rb
-- test/test_faker.rb
-- test/test_faker_app.rb
-- test/test_faker_bitcoin.rb
-- test/test_faker_business.rb
-- test/test_faker_city.rb
-- test/test_faker_code.rb
-- test/test_faker_commerce.rb
-- test/test_faker_company.rb
-- test/test_faker_date.rb
-- test/test_faker_hacker_talk.rb
-- test/test_faker_internet.rb
-- test/test_faker_lorem.rb
-- test/test_faker_name.rb
-- test/test_faker_number.rb
-- test/test_faker_street.rb
-- test/test_faker_team.rb
-- test/test_faker_time.rb
-- test/test_flexible.rb
-- test/test_helper.rb
-- test/test_locale.rb
-- test/test_pl_locale.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..7c42769
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+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 d604201..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 --check-dependencies 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-faker.git



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