lib/tasks/agent_tests.rake in newrelic_rpm-2.8.4 vs lib/tasks/agent_tests.rake in newrelic_rpm-2.8.5

- old
+ new

@@ -1,6 +1,8 @@ # run unit tests for the NewRelic Agent +if defined? Rake::TestTask + namespace :test do AGENT_HOME = File.expand_path(File.join(File.dirname(__FILE__), "..","..")) Rake::TestTask.new(:agent) do |t| t.libs << "#{AGENT_HOME}/test" t.libs << "#{AGENT_HOME}/lib" @@ -9,6 +11,7 @@ end Rake::Task['test:agent'].comment = "Run the unit tests for the Agent" Rake::TestTask.new(:all => ["test", "test:agent"]) Rake::Task['test:all'].comment = "Run all tests including agent code" -end \ No newline at end of file +end +end