forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add an rspec shim to complement the old bin/logstash rspec way of run…
…ning specs in logstash simplify the rspec shim codebase add bin/rspec to the exclude list for packaging removed leftover Fixes elastic#3047
- Loading branch information
1 parent
bde2691
commit 0b72d06
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env ruby | ||
|
||
$LOAD_PATH << File.expand_path(File.join("__FILE__", "..", "lib")) | ||
$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../spec")) | ||
|
||
require "logstash/environment" | ||
require "logstash/bundler" | ||
LogStash::Bundler.setup! | ||
|
||
require "rspec/core" | ||
require "rspec" | ||
|
||
status = RSpec::Core::Runner.run(ARGV).to_i | ||
exit status if status != 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters