[DRE-commits] [gem2deb] 03/03: tests: use only the control file with Test-Command fields

Cédric Boutillier boutil at moszumanska.debian.org
Sun Aug 17 15:07:53 UTC 2014


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

boutil pushed a commit to branch autopkgtest
in repository gem2deb.

commit 603832675c7bcc123335ec1f722dda7aeae7ec6b
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Aug 16 12:20:07 2014 +0200

    tests: use only the control file with Test-Command fields
---
 lib/gem2deb/dh_make_ruby/template/debian/tests/control   | 7 ++++---
 lib/gem2deb/dh_make_ruby/template/debian/tests/load-test | 4 ----
 lib/gem2deb/dh_make_ruby/template/debian/tests/testsuite | 3 ---
 3 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/lib/gem2deb/dh_make_ruby/template/debian/tests/control b/lib/gem2deb/dh_make_ruby/template/debian/tests/control
index 02385f9..a23bf30 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/tests/control
+++ b/lib/gem2deb/dh_make_ruby/template/debian/tests/control
@@ -1,6 +1,7 @@
-Tests: testsuite
+Test-Command: gem2deb-test-runner
 Depends: @, @builddeps@, gem2deb-test-runner
 
-Tests: load-test
-Depends: @
+#FIXME: replace LIB by the name of the main file of the library
+#Test-Command: ruby -r LIB -e "puts true"
+#Depends: @
 
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/tests/load-test b/lib/gem2deb/dh_make_ruby/template/debian/tests/load-test
deleted file mode 100644
index ea5f808..0000000
--- a/lib/gem2deb/dh_make_ruby/template/debian/tests/load-test
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-#FIXME: replace LIB by the name of the main file of the library
-#ruby -r LIB -e "puts true"
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/tests/testsuite b/lib/gem2deb/dh_make_ruby/template/debian/tests/testsuite
deleted file mode 100755
index 276045a..0000000
--- a/lib/gem2deb/dh_make_ruby/template/debian/tests/testsuite
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-gem2deb-test-runner

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



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