[DRE-commits] [ruby-parser] 02/03: Add autopkgtest support
Cédric Boutillier
boutil at moszumanska.debian.org
Wed Aug 27 04:55:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-parser.
commit c32c35041138839233d39cba5fa43a063d629cb3
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Aug 27 06:50:53 2014 +0200
Add autopkgtest support
---
debian/ruby-test-files.yaml | 6 +++---
debian/tests/control | 6 ++++++
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
index d4c6ad5..6c55719 100644
--- a/debian/ruby-test-files.yaml
+++ b/debian/ruby-test-files.yaml
@@ -1,4 +1,4 @@
---
-- test/test_ruby_lexer.rb
-- test/test_ruby_parser.rb
-- test/test_ruby_parser_extras.rb
+- ./test/test_ruby_lexer.rb
+- ./test/test_ruby_parser.rb
+- ./test/test_ruby_parser_extras.rb
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..74fd57c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Test-Command: gem2deb-test-runner --autopkgtest 2>&1
+Depends: @, gem2deb-test-runner, ruby-minitest
+
+Test-Command: ruby -r "ruby_parser" -e "puts true"
+Depends: @
+
--
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