[DRE-commits] [rake] 08/15: Drop debian/tests/*: just use the common Ruby testing infrastructure

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Jun 30 21:12:48 UTC 2017


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

terceiro pushed a commit to branch master
in repository rake.

commit 11cd3210c7e216fc5de83d1313ff2451ce2a2969
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Jun 29 09:51:37 2017 -0300

    Drop debian/tests/*: just use the common Ruby testing infrastructure
---
 debian/changelog       |  1 +
 debian/tests/control   |  3 ---
 debian/tests/rdoctask  | 15 ---------------
 debian/tests/testsuite |  7 -------
 4 files changed, 1 insertion(+), 25 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0c4e4d0..91d27e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ rake (12.0.0-1) UNRELEASED; urgency=medium
       https://github.com/ruby/rake/issues/212
   * debian/rules:
     - drop Build-Depends that are no longer necessary due to upstream changes
+  * Drop debian/tests/*: just use the common Ruby testing infrastructure
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 27 Jun 2017 18:03:11 -0300
 
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index ef6c541..0000000
--- a/debian/tests/control
+++ /dev/null
@@ -1,3 +0,0 @@
-Tests: testsuite
-Depends: @, @builddeps@
-Restrictions: rw-build-tree allow-stderr
diff --git a/debian/tests/rdoctask b/debian/tests/rdoctask
deleted file mode 100755
index c337492..0000000
--- a/debian/tests/rdoctask
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-testdir="${TMPDIR:-/tmp}/rdoctask"
-mkdir -p "$testdir"
-rakefile="$testdir/Rakefile"
-
-cat > $rakefile  <<EOF
-require 'rake/rdoctask'
-
-task :default do
-  puts "Hello, world"
-end
-EOF
-
-cd "$testdir" && ruby1.8 -S rake -X
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
deleted file mode 100755
index 48f6f1c..0000000
--- a/debian/tests/testsuite
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-mv lib lib.off
-/usr/bin/rake
-status=$?
-mv lib.off lib
-exit $status

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



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