[DRE-commits] [SCM] ruby-dataobjects-postgres.git branch, master, updated. debian/0.10.8-2-11-g1b903eb

Cédric Boutillier boutil at debian.org
Tue Jun 11 15:53:25 UTC 2013


The following commit has been merged in the master branch:
commit f3959dae4d1d58b9e9be4dd083612c3ad38ae103
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Jun 11 09:32:01 2013 +0200

    update instructions to run the tests

diff --git a/debian/TODO b/debian/TODO
index 325a2a8..85ba2b8 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -2,3 +2,18 @@ make start_postgres_and_auto_building work, and uncomment
 override_dh_auto_build: target in debian/rules.
 The main problem is to be able to run the postgres server with postgres user
 using su while the package is being built with fakeroot. Is it even possible?
+
+For the moment, to run the tests,
+- I run the first half of start_postgres_and_auto_install.sh
+  with postgres user (until dh_autoinstall).
+- I build the package with a simple ruby-tests.rake:
+---8<------
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern      = './spec/*_spec.rb'
+end
+
+task :default => :spec
+--->8-------
+- I run the second half of the script with postgres user.

-- 
ruby-dataobjects-postgres.git



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