File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1111
1212while suspects . length > 1 do
1313 count = suspects . length
14- # Try the first half
1514 specs_to_run = suspects [ 0 ...( count /2 ) ]
1615 puts "Trying #{ specs_to_run . join ( ' ' ) } "
1716 start = Time . now
1817 system ( "bundle exec rspec #{ specs_to_run . join ( ' ' ) } #{ failing_spec } " )
1918 puts "Finished in #{ Time . now - start } seconds"
2019 if $? == 0
21- puts "Innocent!"
22- # This group is innocent. The culprit is in the other half.
20+ puts "This group is innocent. The culprit is in the other half."
2321 suspects = suspects [ ( count /2 ) ..-1 ]
2422 else
25- puts "Guilty!"
26- # One of these is guilty.
23+ puts "One of these is guilty."
2724 suspects = specs_to_run
2825 end
2926end
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ mkdir -p ${dir}
1313mkdir -p ${dir}/manifests
1414touch ${dir}/manifests/site.pp
1515
16- # work around a bug where the master generates a warning when if agent pluginsyncs
16+ # Work around Redmine #21908 where the master generates a warning if agent pluginsyncs
1717# and there isn't at least one module with a libdir
1818mkdir -p ${dir}/modules/foo/lib
1919
You can’t perform that action at this time.
0 commit comments