extra: add explicit ratchet-noise-percent option to benchmark ratchet, plus a few test breaking fixes.
This commit is contained in:
parent
83fb3d224a
commit
bbdbd3c69d
3 changed files with 57 additions and 30 deletions
|
|
@ -79,7 +79,7 @@ pub fn parse_config(args: ~[~str]) -> config {
|
|||
let args_ = args.tail();
|
||||
if args[1] == ~"-h" || args[1] == ~"--help" {
|
||||
let message = fmt!("Usage: %s [OPTIONS] [TESTNAME...]", argv0);
|
||||
io::println(getopts::groups::usage(message, groups));
|
||||
println(getopts::groups::usage(message, groups));
|
||||
fail!()
|
||||
}
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ pub fn parse_config(args: ~[~str]) -> config {
|
|||
|
||||
if getopts::opt_present(matches, "h") || getopts::opt_present(matches, "help") {
|
||||
let message = fmt!("Usage: %s [OPTIONS] [TESTNAME...]", argv0);
|
||||
io::println(getopts::groups::usage(message, groups));
|
||||
println(getopts::groups::usage(message, groups));
|
||||
fail!()
|
||||
}
|
||||
|
||||
|
|
@ -216,8 +216,9 @@ pub fn test_opts(config: &config) -> test::TestOpts {
|
|||
logfile: copy config.logfile,
|
||||
run_tests: true,
|
||||
run_benchmarks: false,
|
||||
save_results: None,
|
||||
compare_results: None
|
||||
ratchet_metrics: None,
|
||||
ratchet_noise_percent: None,
|
||||
save_metrics: None,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue