Mercurial > hg > Database > Christie
view scripts/debug.rb @ 264:70a5938388c8
tweak
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 28 Jan 2020 20:32:38 +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