[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.7-1-98-gf19c0e5

James Turnbull james at lovedthanlost.net
Wed Apr 8 21:48:20 UTC 2009


The following commit has been merged in the master branch:
commit 719a8df167b7456fe0a1b7b05aff246aa6f73d39
Author: James Turnbull <james at lovedthanlost.net>
Date:   Wed Mar 4 19:23:56 2009 +1100

    Fixed to rake tests for reductivelabs build

diff --git a/tasks/rake/reductive.rb b/tasks/rake/reductive.rb
index 2fbd2b4..ed4abd9 100644
--- a/tasks/rake/reductive.rb
+++ b/tasks/rake/reductive.rb
@@ -455,10 +455,10 @@ class Rake::RedLabProject < Rake::TaskLib
 
     desc "Run all unit tests."
     task :alltests do
-        if FileTest.exists?("test/Rakefile")
-            sh %{cd test; rake}
+        if FileTest.exists?("spec/Rakefile")
+            sh %{cd spec; rake}
         else
-            Dir.chdir("test") do
+            Dir.chdir("spec") do
                 Dir.entries(".").find_all { |f| f =~ /\.rb/ }.each do |f|
                     sh %{ruby #{f}}
                 end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list