lib/tasks/agent_tests.rake in newrelic_rpm-2.8.8 vs lib/tasks/agent_tests.rake in newrelic_rpm-2.8.9
- old
+ new
@@ -1,17 +1,13 @@
# 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"
- t.pattern = "#{AGENT_HOME}/test/**/tc_*.rb"
- t.verbose = true
+ namespace :test do
+ AGENT_HOME = File.expand_path(File.join(File.dirname(__FILE__), "..",".."))
+ Rake::TestTask.new(:newrelic) do |t|
+ t.libs << "#{AGENT_HOME}/test"
+ t.libs << "#{AGENT_HOME}/lib"
+ t.pattern = "#{AGENT_HOME}/test/**/tc_*.rb"
+ t.verbose = true
+ end
+ Rake::Task['test:newrelic'].comment = "Run the unit tests for the Agent"
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
end