Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Output log dir and disable pry by default

Christophe Bliard934ebfd9bceb
diff --git a/script/bulk_run_rspec b/script/bulk_run_rspec
index 589eafdf984..febe1f4b954 100755
--- a/script/bulk_run_rspec
+++ b/script/bulk_run_rspec
@@ -104,6 +104,7 @@ class BulkRunner
FileUtils.rm_rf(bulk_run_dir('logs')) if bulk_run_dir('logs').exist?
`mkdir -p #{bulk_run_dir('logs')}`
puts "#{tests.count} tests to run"
+ puts "logs: #{bulk_run_dir('logs')}"
tests.each do |test|
puts '=' * 80
puts "Running #{test.path} #{RUN_COUNT} times"
@@ -111,7 +112,7 @@ class BulkRunner
RUN_COUNT.times do |i|
puts " Run #{i} ".center(80, '-')
run = Run.new(test.path)
- run.output = `CI=true bundle exec rspec '#{run.path}' 2>&1`
+ run.output = `DISABLE_PRY=1 CI=true bundle exec rspec '#{run.path}' 2>&1`
if $?.success?
puts 'ok'.green
run.passed!