[DRE-commits] [ruby-redis] 04/07: use upstream rakefile directly
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Aug 2 05:56:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-redis.
commit d5adcda52a7fe3273fc7b5134e38b46cf27555a0
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sun Aug 2 11:16:40 2015 +0530
use upstream rakefile directly
---
debian/ruby-tests.rake | 9 +--------
debian/start_redis_and_auto_install.sh | 30 ------------------------------
2 files changed, 1 insertion(+), 38 deletions(-)
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index 0e7aeb8..0000000
--- a/debian/ruby-tests.rake
+++ /dev/null
@@ -1,8 +0,0 @@
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.test_files = FileList["test/**/*_test.rb"]
- test.verbose = false
- test.warning = false
-end
-
-task :default => [:test]
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 120000
index 0000000..c6de17e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1 @@
+../Rakefile
\ No newline at end of file
diff --git a/debian/start_redis_and_auto_install.sh b/debian/start_redis_and_auto_install.sh
deleted file mode 100755
index 47c230c..0000000
--- a/debian/start_redis_and_auto_install.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# start_mysqld_and_auto_install.sh - starts an instance of mysqld before
-# auto_installing and running do_mysql's test suite. It is inspired by
-# debian/test_mysql.sh from libdbi-drivers source package.
-
-
-
-set -e
-
-MYTEMP_DIR=`mktemp -d`
-ME=`whoami`
-
-export MYSQL_UNIX_PORT=${MYTEMP_DIR}/mysql.sock
-DO_MYSQL_USER=root
-DO_MYSQL_PASS=
-DO_MYSQL_DBNAME=test
-DO_MYSQL_DATABASE=/${DO_MYSQL_DBNAME}
-
-# Use upstream rake task to start redis
-rake start
-
-echo "waiting 5 seconds for redis server to start..."
-sleep 5
-
-dh_auto_install
-
-# Use upstream rake task to stop redis
-rake stop
-rake clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-redis.git
More information about the Pkg-ruby-extras-commits
mailing list