Sha256: 4bd474f63fd2415fb915c168e602b6b16d508a3ab0599e65630165c8ee25cb42

Contents?: true

Size: 463 Bytes

Versions: 9

Compression:

Stored size: 463 Bytes

Contents

#
# multi process concurrence test
#

t = Time.now

N = 100
failures = 0

N.times do |i|

  #o = `ruby19 test/functional/ct_0_concurrence.rb -n test_collision --dm`
  o = `ruby19 test/functional/ct_0_concurrence.rb -n test_collision #{ARGV[0]}`

  if $?.exitstatus == 0
    print '.'
    puts(o) if i == 0
  else
    failures += 1
    print 'x'
    puts; puts(o)
  end
  STDOUT.flush
end

puts
puts "failures : #{failures}/#{N}  #{(Time.now - t).to_f} seconds"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruote-2.1.9 test/mpc_test.rb
ruote-2.1.8 test/mpc_test.rb
ruote-2.1.7 test/mpc_test.rb
ruote-2.1.6 test/mpc_test.rb
ruote-2.1.5 test/mpc_test.rb
ruote-2.1.4 test/mpc_test.rb
ruote-2.1.3 test/mpc_test.rb
ruote-2.1.2 test/mpc_test.rb
ruote-2.1.1 test/mpc_test.rb