[DRE-commits] [racc] 04/06: Switch to ruby-tests.rake instead of a manual listing of files

Sebastien Badia sbadia-guest at moszumanska.debian.org
Thu Mar 3 21:27:48 UTC 2016


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

sbadia-guest pushed a commit to branch master
in repository racc.

commit be3e0bbb855c2a5dbb2c5d206f3bc14c37dbf25a
Author: Sebastien Badia <seb at sebian.fr>
Date:   Thu Mar 3 18:25:37 2016 -0300

    Switch to ruby-tests.rake instead of a manual listing of files
---
 debian/ruby-test-files.yaml | 5 -----
 debian/ruby-tests.rake      | 6 ++++++
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 4f1365a..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
---- 
-- test/test_chk_y.rb
-- test/test_grammar_file_parser.rb
-- test/test_racc_command.rb
-- test/test_scan_y.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/racc.git



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