Skip to content

Commit

Permalink
Merge pull request #18 from Wind-River/bpang-runtest-2
Browse files Browse the repository at this point in the history
simplify is_vxworks_pure_dynamic()
  • Loading branch information
BaoshanPang authored Sep 5, 2019
2 parents 3a6f7b4 + bdc6cfc commit 109e16e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1733,14 +1733,7 @@ impl<'test> TestCx<'test> {
}

fn is_vxworks_pure_dynamic(&self) -> bool {
if self.config.target.contains("vxworks") {
match env::var("RUST_VXWORKS_TEST_DYLINK") {
Ok(s) => s == "1",
_ => false
}
} else {
false
}
self.config.target.contains("vxworks") && !self.is_vxworks_pure_static()
}

fn compose_and_run_compiler(&self, mut rustc: Command, input: Option<String>) -> ProcRes {
Expand Down

0 comments on commit 109e16e

Please sign in to comment.