[DRE-commits] [ruby-parser] 04/05: use debian/ruby-tests.rb instead

Antonio Terceiro terceiro at moszumanska.debian.org
Sat May 23 22:52:46 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-parser.

commit 5b5cb2bfe28ab46789912d9666b02cea4919f366
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri May 22 17:34:00 2015 -0300

    use debian/ruby-tests.rb instead
    
    for some reason a bunch of tests fail with rake; must have to do with
    the order ...
---
 debian/changelog       | 2 +-
 debian/ruby-tests.rake | 6 ------
 debian/ruby-tests.rb   | 4 ++++
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ee27549..17b9ead 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ ruby-parser (3.6.6-1) UNRELEASED; urgency=medium
 
   * New upstream release
   * Add myself to Uploaders:
-  * switch from debian/ruby-test-files.yaml to debian/ruby-tests.rake
+  * switch from debian/ruby-test-files.yaml to debian/ruby-tests.rb
 
  -- Antonio Terceiro <terceiro at debian.org>  Fri, 22 May 2015 11:57:29 -0300
 
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index 63f3fd6..0000000
--- a/debian/ruby-tests.rake
+++ /dev/null
@@ -1,6 +0,0 @@
-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
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..4393dbc
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,4 @@
+require "minitest/autorun"
+require "test/test_ruby_lexer.rb"
+require "test/test_ruby_parser_extras.rb"
+require "test/test_ruby_parser.rb"

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



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