[DRE-commits] [ruby-json-schema] 05/06: Use rake file instead of yaml one for tests

Balasankar C balasankarc-guest at moszumanska.debian.org
Sun Nov 13 10:21:42 UTC 2016


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

balasankarc-guest pushed a commit to branch master
in repository ruby-json-schema.

commit 8f1aeb8b5acc044afe7653a524f4e9b58ef8bc21
Author: Balasankar C <balasankarc at autistici.org>
Date:   Sun Nov 13 15:45:49 2016 +0530

    Use rake file instead of yaml one for tests
---
 debian/ruby-test-files.yaml | 31 -------------------------------
 debian/ruby-tests.rake      |  6 ++++++
 2 files changed, 6 insertions(+), 31 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 22119f5..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- test/test_jsonschema_draft2.rb
-- test/test_common_test_suite.rb
-- test/test_merge_missing_values.rb
-- test/test_extends_and_additionalProperties.rb
-- test/test_stringify.rb
-- test/test_schema_type_attribute.rb
-- test/test_minitems.rb
-- test/test_custom_format.rb
-- test/test_helper.rb
-- test/test_jsonschema_draft1.rb
-- test/test_fragment_validation_with_ref.rb
-- test/test_load_ref_schema.rb
-- test/test_uri_related.rb
-- test/test_jsonschema_draft4.rb
-- test/test_schema_validation.rb
-- test/test_definition.rb
-- test/test_fragment_resolution.rb
-- test/test_ruby_schema.rb
-- test/test_bad_schema_ref.rb
-- test/test_validator.rb
-- test/test_list_option.rb
-- test/test_jsonschema_draft3.rb
-- test/test_any_of_ref_schema.rb
-- test/test_all_of_ref_schema.rb
-- test/test_extended_schema.rb
-- test/test_schema_loader.rb
-- test/test_full_validation.rb
-- test/test_initialize_data.rb
-- test/test_one_of.rb
-- test/test_files_v3.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..63f3fd6
--- /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'] + FileList['test/**/test_*.rb']
+end

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



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