mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Applyed all necessary review improvements fix the gempath
update the test:plugins to test:all-plugins at it makes more sense fix the path to run the bin logstash file added order rand Fixes #2373
This commit is contained in:
parent
ec97d3d78c
commit
f3912f81db
1 changed files with 5 additions and 3 deletions
|
@ -16,9 +16,11 @@ namespace "test" do
|
|||
RSpec::Core::Runner.run(["--fail-fast", *Rake::FileList["spec/**/*.rb"]])
|
||||
end
|
||||
|
||||
task "plugins" => [ "bootstrap","plugin:install-all" ] do
|
||||
pattern = "vendor/bundle/jruby/1.9/gems/logstash-*/spec/{input,filter,codec,output}s/*_spec.rb"
|
||||
sh "./bin/logstash rspec #{pattern}"
|
||||
task "all-plugins" => [ "bootstrap","plugin:install-all" ] do
|
||||
require "logstash/environment"
|
||||
gem_home = LogStash::Environment.logstash_gem_home
|
||||
pattern = "#{gem_home}/logstash-*/spec/{input,filter,codec,output}s/*_spec.rb"
|
||||
sh "#{LogStath::Environment::LOGSTASH_HOME}/bin/logstash rspec --order rand #{pattern}"
|
||||
end
|
||||
|
||||
task "prep" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue