summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-03 18:44:02 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-03 18:44:02 +0000
commit9271142ada86319e25bb2a40ca84eb81e737c2d5 (patch)
treedff0b0b51110c46ae0d3f8c6e9cb75ae4c39b410
parent651640c7c4773be43605e08625301e604547ac5c (diff)
downloadpuppet-9271142ada86319e25bb2a40ca84eb81e737c2d5.tar.gz
puppet-9271142ada86319e25bb2a40ca84eb81e737c2d5.tar.xz
puppet-9271142ada86319e25bb2a40ca84eb81e737c2d5.zip
Adding a check to the rakefile to throw a warning if the test task is missing
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2023 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--test/Rakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Rakefile b/test/Rakefile
index 0fccb7a81..1f9bfa203 100644
--- a/test/Rakefile
+++ b/test/Rakefile
@@ -1,4 +1,9 @@
-require 'rake/testtask'
+begin
+ require 'rake/testtask'
+rescue LoadError
+ $stderr.puts "You must have 'rake' installed to use this file"
+ exit(1)
+end
require 'find'
include Find