enable validation for a bunch of more tests

This commit is contained in:
Ralf Jung 2017-09-13 12:41:38 +02:00
parent aa578de018
commit bac89ae1d8
6 changed files with 2 additions and 11 deletions

View file

@ -126,8 +126,7 @@ impl<'a, 'tcx, M: Machine<'tcx>> EvalContext<'a, 'tcx, M> {
use regex::Regex;
lazy_static! {
static ref RE: Regex = Regex::new("^(\
(std|alloc::heap::__core)::mem::uninitialized::|\
(std|alloc::heap::__core)::mem::forget::|\
(std|alloc::heap::__core)::mem::(uninitialized|forget)::|\
<(std|alloc)::heap::Heap as (std::heap|alloc::allocator)::Alloc>::|\
<(std|alloc::heap::__core)::mem::ManuallyDrop<T>><.*>::new$|\
<(std|alloc::heap::__core)::mem::ManuallyDrop<T> as std::ops::DerefMut><.*>::deref_mut$|\

View file

@ -1,5 +1,3 @@
// 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() {

View file

@ -1,5 +1,3 @@
// 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)]

View file

@ -1,5 +1,3 @@
// 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)]

View file

@ -1,5 +1,3 @@
// FIXME: disable validation until we figure out how to handle <https://github.com/solson/miri/issues/296>.
// compile-flags: -Zmir-emit-validate=0
use std::collections::{self, HashMap};
use std::hash::BuildHasherDefault;

View file

@ -1,4 +1,4 @@
// mir validation can't cope with `mem::uninitialized::<SomeEnum>()`
// mir validation can't cope with `mem::uninitialized()`, so this test fails with validation & full-MIR.
// compile-flags: -Zmir-emit-validate=0
#[derive(PartialEq, Eq, PartialOrd, Ord)]