Skip to content

Commit

Permalink
remove debugging output
Browse files Browse the repository at this point in the history
  • Loading branch information
kares committed Aug 29, 2021
1 parent 6d4bbbe commit dd8eb7f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/bootstrap/rspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,12 @@
$LOAD_PATH.unshift(spec_path) unless $LOAD_PATH.include?(spec_path)
end

puts "$LOAD_PATH: "
$LOAD_PATH.each { |p| puts "> #{p}" }

require "rspec/core"
require "rspec"
require 'ci/reporter/rake/rspec_loader'

RSpec.clear_examples # if multiple rspec runs occur in a single process, the RSpec "world" state needs to be reset.

require 'jruby'
puts "Dir.pwd #{Dir.pwd}"
puts "JRuby.runtime.current_directory: #{JRuby.runtime.current_directory}"
puts "LogStash::Environment::LOGSTASH_HOME: #{LogStash::Environment::LOGSTASH_HOME}"
puts "ARGV: #{ARGV.inspect}"
puts "$JUNIT_ARGV: #{$JUNIT_ARGV.inspect}"

status = RSpec::Core::Runner.run(ARGV.empty? ? ($JUNIT_ARGV || ["spec"]) : ARGV).to_i
if ENV["IS_JUNIT_RUN"]
return status
Expand Down

0 comments on commit dd8eb7f

Please sign in to comment.