lib/tasks/tests.rake in newrelic_rpm-6.8.0.360 vs lib/tasks/tests.rake in newrelic_rpm-6.9.0.363

- old
+ new

@@ -24,12 +24,17 @@ end agent_home = File.expand_path(File.join(File.dirname(__FILE__),'..','..')) Rake::TestTask.new(:newrelic) do |t| + + file_pattern = ENV["file"] + file_pattern = file_pattern.split(",").map{|f| "#{agent_home}/#{f}".gsub("//", "/")} if file_pattern + file_pattern ||= "#{agent_home}/test/new_relic/**/*_test.rb" + t.libs << "#{agent_home}/test" t.libs << "#{agent_home}/lib" - t.pattern = "#{agent_home}/test/new_relic/**/*_test.rb" + t.pattern = file_pattern t.verbose = true end end end