- i=0
- i = opts["j"] if opts["j"]
- logfile=File.open(conf["PORT"]["testlogbase"]+algo+".txt", "a")
- while conf[algo]["file_#{i}"] != nil
- puts("Testing #{algo} with #{conf[algo]["file_#{i}"]}")
- reset_system()
- init_system(algoa[1])
- skip=0
- skip=opts["i"].to_i if opts["i"]
- nerrors=run_test(conf[algo]["file_#{i}"], skip)
+ i=0
+ i = opts["j"].to_i if opts["j"]
+ logfile=File.open(conf["PORT"]["testlogbase"]+algo+".txt", "a")
+ while conf[algo]["file_#{i}"] != nil
+ puts("Testing #{algo} with #{conf[algo]["file_#{i}"]}")
+ reset_system()
+ init_system(algoa[1])
+ skip=0
+ skip=opts["i"].to_i if opts["i"]
+ nerrors=run_test(conf[algo]["file_#{i}"], skip)