Skip to content

Commit fcce7e8

Browse files
committed
Remove --newrt option
1 parent 35f975b commit fcce7e8

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/compiletest/common.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ pub struct config {
8383
// Run tests using the JIT
8484
jit: bool,
8585

86-
// Run tests using the new runtime
87-
newrt: bool,
88-
8986
// Target system to be tested
9087
target: ~str,
9188

src/compiletest/compiletest.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ pub fn parse_config(args: ~[~str]) -> config {
7171
optopt("", "ratchet-noise-percent",
7272
"percent change in metrics to consider noise", "N"),
7373
optflag("", "jit", "run tests under the JIT"),
74-
optflag("", "newrt", "run tests on the new runtime / scheduler"),
7574
optopt("", "target", "the target to build for", "TARGET"),
7675
optopt("", "adb-path", "path to the android debugger", "PATH"),
7776
optopt("", "adb-test-dir", "path to tests for the android debugger", "PATH"),
@@ -135,7 +134,6 @@ pub fn parse_config(args: ~[~str]) -> config {
135134
runtool: getopts::opt_maybe_str(matches, "runtool"),
136135
rustcflags: getopts::opt_maybe_str(matches, "rustcflags"),
137136
jit: getopts::opt_present(matches, "jit"),
138-
newrt: getopts::opt_present(matches, "newrt"),
139137
target: opt_str2(getopts::opt_maybe_str(matches, "target")).to_str(),
140138
adb_path: opt_str2(getopts::opt_maybe_str(matches, "adb-path")).to_str(),
141139
adb_test_dir:
@@ -169,7 +167,6 @@ pub fn log_config(config: &config) {
169167
logv(c, fmt!("runtool: %s", opt_str(&config.runtool)));
170168
logv(c, fmt!("rustcflags: %s", opt_str(&config.rustcflags)));
171169
logv(c, fmt!("jit: %b", config.jit));
172-
logv(c, fmt!("newrt: %b", config.newrt));
173170
logv(c, fmt!("target: %s", config.target));
174171
logv(c, fmt!("adb_path: %s", config.adb_path));
175172
logv(c, fmt!("adb_test_dir: %s", config.adb_test_dir));

src/compiletest/runtest.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,9 +545,7 @@ fn compile_test_(config: &config, props: &TestProps,
545545
fn exec_compiled_test(config: &config, props: &TestProps,
546546
testfile: &Path) -> ProcRes {
547547

548-
// If testing the new runtime then set the RUST_NEWRT env var
549548
let env = props.exec_env.clone();
550-
let env = if config.newrt { env + &[(~"RUST_NEWRT", ~"1")] } else { env };
551549

552550
match config.target {
553551

0 commit comments

Comments
 (0)