Mercurial > hg > Database > Christie
view scripts/debug.rb @ 130:b94aef33e262
fix HostMessage implements clone
author | akahori |
---|---|
date | Tue, 25 Dec 2018 15:17:15 +0900 |
parents | 0c76ab6b586a |
children |
line wrap: on
line source
#!/usr/bin/ruby #./debug.rb ../build/libs/Christie.jar christie.test.Remote.StartRemoteTest 100 jar_path = ARGV[0] class_path = ARGV[1] loop_num = ARGV[2].to_i loop_num.times do |i| system("java -cp #{jar_path} #{class_path} 2>./error_log &") sleep(1) system("killall java") sleep(1) end