Skip to content

Commit

Permalink
Merge pull request #15 from Wind-River/bpang-runtest
Browse files Browse the repository at this point in the history
change RUST_TEST_DYLINK to RUST_VXWORKS_TEST_DYLINK
  • Loading branch information
BaoshanPang authored Sep 4, 2019
2 parents e316ba3 + 20b9ea8 commit 3a6f7b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@ impl<'test> TestCx<'test> {

fn is_vxworks_pure_static(&self) -> bool {
if self.config.target.contains("vxworks") {
match env::var("RUST_TEST_DYLINK") {
match env::var("RUST_VXWORKS_TEST_DYLINK") {
Ok(s) => s != "1",
_ => true
}
Expand All @@ -1734,7 +1734,7 @@ impl<'test> TestCx<'test> {

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

0 comments on commit 3a6f7b4

Please sign in to comment.