Skip to content

Commit

Permalink
test: Mark all rpass-valgrind as no-prefer-dynamic
Browse files Browse the repository at this point in the history
This applies the same fix as added in 595d5b2 which is to just compile all
valgrind tests statically instead of dynamically. It looks like this is a
resurgence of either #30383 or #31328 in some weird fashion.

I'm not actually sure what's going on with the bots, and it's unclear whether
this is a valgrind bug or a libstd bug, but for now let's just get things
landing again.

Closes #30383
  • Loading branch information
alexcrichton committed Feb 29, 2016
1 parent b643782 commit 95560c1
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/run-pass-valgrind/cast-enum-with-dtor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// no-prefer-dynamic

#![allow(dead_code)]
#![feature(const_fn)]

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-valgrind/cleanup-auto-borrow-obj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// no-prefer-dynamic

// This would previously leak the Box<Trait> because we wouldn't
// schedule cleanups when auto borrowing trait objects.
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass-valgrind/cleanup-stdin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// no-prefer-dynamic

fn main() {
let _ = std::io::stdin();
let _ = std::io::stdout();
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass-valgrind/dst-dtor-1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// no-prefer-dynamic

static mut DROP_RAN: bool = false;

struct Foo;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass-valgrind/dst-dtor-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// no-prefer-dynamic

static mut DROP_RAN: isize = 0;

struct Foo;
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-valgrind/exit-flushes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// no-prefer-dynamic
// ignore-macos this needs valgrind 3.11 or higher; see
// https://github.com/rust-lang/rust/pull/30365#issuecomment-165763679

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-valgrind/osx-frameworks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// no-prefer-dynamic
// pretty-expanded FIXME #23616

#![feature(libc)]
Expand Down

0 comments on commit 95560c1

Please sign in to comment.