Skip to content

Commit 77ecfeb

Browse files
Merge pull request #446 from bastelfreak/parallel
parallel_spec_standalone: use --format progress
2 parents e4f2eef + 20dd0d7 commit 77ecfeb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/puppetlabs_spec_helper/rake_tasks.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,9 @@
111111
warn 'No files for parallel_spec to run against'
112112
else
113113

114-
args = ['-t', 'rspec']
115-
args.push('--').concat(ENV['CI_SPEC_OPTIONS'].strip.split).push('--') unless ENV['CI_SPEC_OPTIONS'].nil? || ENV['CI_SPEC_OPTIONS'].strip.empty?
114+
args = ['--type', 'rspec']
115+
additional_options = ['--format', 'progress'] + ENV['CI_SPEC_OPTIONS'].to_s.strip.split
116+
args.push('--').concat(additional_options).push('--')
116117
args.concat(Rake::FileList[pattern].to_a)
117118

118119
ParallelTests::CLI.new.run(args)

0 commit comments

Comments
 (0)