Skip to content

Commit

Permalink
Merge pull request #315 from RalfJung/validation
Browse files Browse the repository at this point in the history
Enable more validation tests
  • Loading branch information
oli-obk authored Aug 28, 2017
2 parents b6d0597 + 02a0f0f commit b93462a
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 18 deletions.
3 changes: 0 additions & 3 deletions tests/compile-fail/memleak_rc.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
// compile-flags: -Zmir-emit-validate=0

//error-pattern: the evaluated program leaked memory

use std::rc::Rc;
Expand Down
3 changes: 1 addition & 2 deletions tests/compile-fail/panic.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
// FIXME: Probably failing due to https://github.com/solson/miri/issues/296
// compile-flags: -Zmir-emit-validate=0

//error-pattern: the evaluated program panicked

fn main() {
Expand Down
3 changes: 1 addition & 2 deletions tests/compile-fail/zst2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
// FIXME: Probably failing due to https://github.com/solson/miri/issues/296
// compile-flags: -Zmir-emit-validate=0

// error-pattern: the evaluated program panicked

#[derive(Debug)]
Expand Down
3 changes: 1 addition & 2 deletions tests/compile-fail/zst3.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
// FIXME: Probably failing due to https://github.com/solson/miri/issues/296
// compile-flags: -Zmir-emit-validate=0

// error-pattern: the evaluated program panicked

#[derive(Debug)]
Expand Down
3 changes: 0 additions & 3 deletions tests/run-pass/rc.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
// compile-flags: -Zmir-emit-validate=0

use std::cell::RefCell;
use std::rc::Rc;

Expand Down
3 changes: 0 additions & 3 deletions tests/run-pass/send-is-not-static-par-for.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@

//ignore-windows

// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
// compile-flags: -Zmir-emit-validate=0

use std::sync::Mutex;

fn par_for<I, F>(iter: I, f: F)
Expand Down
3 changes: 0 additions & 3 deletions tests/run-pass/std.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
// compile-flags: -Zmir-emit-validate=0

use std::cell::{Cell, RefCell};
use std::rc::Rc;
use std::sync::Arc;
Expand Down

0 comments on commit b93462a

Please sign in to comment.