Skip to content

Commit 109e16e

Browse files
authored
Merge pull request #18 from Wind-River/bpang-runtest-2
simplify is_vxworks_pure_dynamic()
2 parents 3a6f7b4 + bdc6cfc commit 109e16e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/tools/compiletest/src/runtest.rs

+1-8
Original file line numberDiff line numberDiff line change
@@ -1733,14 +1733,7 @@ impl<'test> TestCx<'test> {
17331733
}
17341734

17351735
fn is_vxworks_pure_dynamic(&self) -> bool {
1736-
if self.config.target.contains("vxworks") {
1737-
match env::var("RUST_VXWORKS_TEST_DYLINK") {
1738-
Ok(s) => s == "1",
1739-
_ => false
1740-
}
1741-
} else {
1742-
false
1743-
}
1736+
self.config.target.contains("vxworks") && !self.is_vxworks_pure_static()
17441737
}
17451738

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

0 commit comments

Comments
 (0)