Mercurial > hg > Database > Christie
comparison scripts/debug.rb @ 19:0c76ab6b586a
working RemotePutTest by debug.rb
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 21 Jan 2018 23:27:21 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
18:b8dc461b29f4 | 19:0c76ab6b586a |
---|---|
1 #!/usr/bin/ruby | |
2 #./debug.rb ../build/libs/Christie.jar christie.test.Remote.StartRemoteTest 100 | |
3 | |
4 jar_path = ARGV[0] | |
5 class_path = ARGV[1] | |
6 loop_num = ARGV[2].to_i | |
7 loop_num.times do |i| | |
8 system("java -cp #{jar_path} #{class_path} 2>./error_log &") | |
9 sleep(1) | |
10 system("killall java") | |
11 sleep(1) | |
12 end |