[DRE-commits] [ruby-html-pipeline] 02/08: use ruby-tests.rake

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Jul 2 10:00:44 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-html-pipeline.

commit aef3702ec34b9fd441c2aee973a1c1ac40a15e68
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Jul 2 15:19:27 2015 +0530

    use ruby-tests.rake
---
 debian/ruby-test-files.yaml | 16 ----------------
 debian/ruby-tests.rake      | 11 +++++++++++
 2 files changed, 11 insertions(+), 16 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index ac58b0d..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
----
-- test/helpers/mocked_instrumentation_service.rb
-- test/html/pipeline/absolute_source_filter_test.rb
-- test/html/pipeline/autolink_filter_test.rb
-- test/html/pipeline/camo_filter_test.rb
-- test/html/pipeline/emoji_filter_test.rb
-- test/html/pipeline/https_filter_test.rb
-- test/html/pipeline/image_max_width_filter_test.rb
-- test/html/pipeline/markdown_filter_test.rb
-- test/html/pipeline/mention_filter_test.rb
-- test/html/pipeline/plain_text_input_filter_test.rb
-- test/html/pipeline/sanitization_filter_test.rb
-- test/html/pipeline/syntax_highlight_filter_test.rb
-- test/html/pipeline/toc_filter_test.rb
-- test/html/pipeline_test.rb
-- test/test_helper.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..7687ceb
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,11 @@
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+# github-linguist, gemoji not in archive
+  test.test_files = FileList["test/**/*.rb"] - (FileList["test/test_helper.rb", "test/html/pipeline/emoji_filter_test.rb", "test/html/pipeline/syntax_highlight_filter_test.rb"])
+  test.libs << '/usr/lib/ruby/vendor_ruby' << 'test'
+  test.verbose = false
+  test.warning = false
+end
+
+
+task :default => [:test]

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



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