[DRE-commits] [chef-zero] 06/08: Set SINGLE_ORG in the tests, or the suite will fail.

Stefano Rivera stefano at rivera.za.net
Tue Oct 14 00:26:53 UTC 2014


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

stefanor pushed a commit to branch master
in repository chef-zero.

commit 3f3d28118d640feb764d0b8b56d569a883487bd1
Author: Stefano Rivera <stefanor at debian.org>
Date:   Thu Oct 9 16:34:23 2014 +0200

    Set SINGLE_ORG in the tests, or the suite will fail.
---
 debian/changelog     | 1 +
 debian/ruby-tests.rb | 1 +
 debian/tests/rspec   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 22ce70f..7f866c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ chef-zero (3.1.3-1) UNRELEASED; urgency=medium
   * Refresh patches.
   * Now depends on ruby-uuidtools.
   * Update tests, the runner has been renamed.
+  * Set SINGLE_ORG in the tests, or the suite will fail.
 
  -- Stefano Rivera <stefanor at debian.org>  Thu, 09 Oct 2014 16:02:11 +0200
 
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 03773fb..7ea40e1 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,4 +1,5 @@
 require 'rbconfig'
 ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
 ENV['SKIP_PEDANT'] = '1'
+ENV['SINGLE_ORG'] = '1'
 exec("#{ruby} -I. spec/run_pedant.rb")
diff --git a/debian/tests/rspec b/debian/tests/rspec
index a515ad5..1ba3187 100755
--- a/debian/tests/rspec
+++ b/debian/tests/rspec
@@ -6,4 +6,5 @@ cp -a spec "$ADTTMP"
 cd "$ADTTMP"
 
 export SKIP_PEDANT=1
+export SINGLE_ORG=1
 ruby spec/run_pedant.rb

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



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