diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2013-07-11 15:16:11 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2013-07-11 15:16:11 -0700 |
| commit | bbdbd3c69d35e3409d6c652c188ebd2d951b2e0e (patch) | |
| tree | 70a6712544ad8db29932cf941d00ae175b4f6182 /src/compiletest | |
| parent | 83fb3d224a40022d6083b42f4296731a9edfdc70 (diff) | |
| download | rust-bbdbd3c69d35e3409d6c652c188ebd2d951b2e0e.tar.gz rust-bbdbd3c69d35e3409d6c652c188ebd2d951b2e0e.zip | |
extra: add explicit ratchet-noise-percent option to benchmark ratchet, plus a few test breaking fixes.
Diffstat (limited to 'src/compiletest')
| -rw-r--r-- | src/compiletest/compiletest.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/compiletest/compiletest.rs b/src/compiletest/compiletest.rs index 5d3f81fd884..a411e714247 100644 --- a/src/compiletest/compiletest.rs +++ b/src/compiletest/compiletest.rs @@ -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, } } |
