about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2017-09-07 16:56:46 +0200
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2017-09-07 16:56:46 +0200
commit5570a78c51d747e22072326e0276e1861fd00beb (patch)
tree7c1b0e255a83d98689e653d64bfa0f858ba36023
parent79f90d1b5b24583812075379bcedb59d1fb14071 (diff)
downloadrust-5570a78c51d747e22072326e0276e1861fd00beb.tar.gz
rust-5570a78c51d747e22072326e0276e1861fd00beb.zip
Disable validation for some tests
-rw-r--r--tests/run-pass-fullmir/u128.rs2
-rw-r--r--tests/run-pass-fullmir/unsized-tuple-impls.rs2
-rw-r--r--tests/run-pass/pointers.rs2
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-pass-fullmir/u128.rs b/tests/run-pass-fullmir/u128.rs
index a05308acbe6..a1fb96ef4a6 100644
--- a/tests/run-pass-fullmir/u128.rs
+++ b/tests/run-pass-fullmir/u128.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// compile-flags: -Zmir-emit-validate=0
+
 #![feature(i128_type)]
 
 fn b<T>(t: T) -> T { t }
diff --git a/tests/run-pass-fullmir/unsized-tuple-impls.rs b/tests/run-pass-fullmir/unsized-tuple-impls.rs
index ccb6883e873..acaedebbf9b 100644
--- a/tests/run-pass-fullmir/unsized-tuple-impls.rs
+++ b/tests/run-pass-fullmir/unsized-tuple-impls.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// compile-flags: -Zmir-emit-validate=0
+
 #![feature(unsized_tuple_coercion)]
 use std::mem;
 
diff --git a/tests/run-pass/pointers.rs b/tests/run-pass/pointers.rs
index f3ae3ab913a..7d34d564ea4 100644
--- a/tests/run-pass/pointers.rs
+++ b/tests/run-pass/pointers.rs
@@ -1,3 +1,5 @@
+// compile-flags: -Zmir-emit-validate=0
+
 fn one_line_ref() -> i16 {
     *&1
 }