Sha256: 6ecd3d1835b940540818263f36ff82401f48f9d4b8f308b5783fe9259706cc0e

Contents?: true

Size: 388 Bytes

Versions: 6

Compression:

Stored size: 388 Bytes

Contents

pers = ARGV.find { |a| a.match(/^--/) } || ''
tnumber = ARGV.find { |a| a.match(/^\d+/) } || 2

i = 0

loop do

  t = Dir["test/functional/ct_#{tnumber}_*.rb"].first

  raise "didn't find test..." unless t

  s = `ruby #{t} #{pers}`

  if $? != 0
    puts
    puts s
  else
    if (i % 5) == 0
      print i.to_s
    else
      print '.'
    end
    STDOUT.flush
  end

  i = i + 1
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruote-2.1.7 test/functional/crunner.rb
ruote-2.1.6 test/functional/crunner.rb
ruote-2.1.5 test/functional/crunner.rb
ruote-2.1.4 test/functional/crunner.rb
ruote-2.1.3 test/functional/crunner.rb
ruote-2.1.2 test/functional/crunner.rb