Merge pull request #444 from RalfJung/windows

Unignore a bunch of tests that actually work
This commit is contained in:
Ralf Jung
2018-08-31 08:32:31 +02:00
committed by GitHub
22 changed files with 12 additions and 34 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//ignore-test FIXME (do some basic validation of invariants for all values in flight)
//ignore-test FIXME: do some basic validation of invariants for all values in flight
//This does currently not get caught becuase it compiles to SwitchInt, which
//has no knowledge about data invariants.
+1 -1
View File
@@ -1,4 +1,4 @@
// ignore-test FIXME: we are not checking these things on match any more?
//ignore-test FIXME: do some basic validation of invariants for all values in flight
//This does currently not get caught becuase it compiles to SwitchInt, which
//has no knowledge about data invariants.
-1
View File
@@ -1,4 +1,3 @@
//ignore-windows
// FIXME: Something in panic handling fails validation with full-MIR
// compile-flags: -Zmir-emit-validate=0
//error-pattern: the evaluated program panicked
+1 -2
View File
@@ -1,5 +1,4 @@
//ignore-msvc
//ignore-macos
//ignore-msvc: Stdout not implemented on Windows
use std::panic::{catch_unwind, AssertUnwindSafe};
fn main() {
@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-msvc
//ignore-windows: Uses POSIX APIs
#![feature(libc)]
extern crate libc;
+1 -2
View File
@@ -1,5 +1,4 @@
//ignore-msvc
//ignore-macos
//ignore-msvc: Stdout not implemented on Windows
fn main() {
println!("Hello {}", 13);
}
-1
View File
@@ -1,4 +1,3 @@
//ignore-msvc
fn main() {
let _ = ::std::str::from_utf8(b"a");
}
-1
View File
@@ -1,4 +1,3 @@
//ignore-msvc
use std::collections::{self, HashMap};
use std::hash::BuildHasherDefault;
+1 -2
View File
@@ -1,5 +1,4 @@
//ignore-msvc
//ignore-macos
//ignore-msvc: Stdout not implemented on Windows
fn main() {
println!("Hello, world!");
}
+1 -2
View File
@@ -11,7 +11,6 @@
// FIXME: remove -Zmir-opt-level once https://github.com/rust-lang/rust/issues/43359 is fixed
// compile-flags: -Zmir-opt-level=0
//ignore-msvc
use std::i32;
pub fn main() {
@@ -168,7 +167,7 @@ pub fn main() {
assert_eq!(0x10i32.overflowing_shr(4), (0x1, false));
assert_eq!(0x10i32.overflowing_shr(36), (0x1, true));
assert_eq!(10i8.overflowing_abs(), (10,false));
assert_eq!((-10i8).overflowing_abs(), (10,false));
assert_eq!((-128i8).overflowing_abs(), (-128,true));
+1 -2
View File
@@ -8,8 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-msvc
//ignore-macos
//ignore-msvc: Stdout not implemented on Windows
#![feature(box_syntax)]
trait T {
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-msvc
#![feature(never_type)]
#![allow(unreachable_code)]
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-windows
use std::sync::Mutex;
fn par_for<I, F>(iter: I, f: F)
-2
View File
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-msvc
fn b<T>(t: T) -> T { t }
fn main() {
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-msvc
#![feature(unsized_tuple_coercion)]
use std::mem;
-1
View File
@@ -1,4 +1,3 @@
//ignore-msvc
#![feature(box_syntax)]
fn make_box() -> Box<(i16, i16)> {
-2
View File
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-msvc
#![feature(slice_patterns)]
fn main() {
+2 -1
View File
@@ -8,7 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-msvc
//ignore-windows: Causes a stack overflow?!? Likely a rustc bug: https://github.com/rust-lang/rust/issues/53820
//Once that bug is fixed, increase the size to 16*1024 and enable on all platforms.
#![feature(slice_patterns)]
-2
View File
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-msvc
#![allow(unused_features, unused_variables)]
#![feature(box_syntax)]
+1 -1
View File
@@ -11,7 +11,7 @@
// FIXME: We handle uninitialized storage here, which currently makes validation fail.
// compile-flags: -Zmir-emit-validate=0
//ignore-msvc
//ignore-windows: Uses POSIX APIs
#![feature(libc)]
+1 -1
View File
@@ -1,4 +1,4 @@
//ignore-windows
//ignore-windows: Uses POSIX APIs
#![feature(libc)]
extern crate libc;
-2
View File
@@ -1,5 +1,3 @@
//ignore-msvc
fn make_vec() -> Vec<u8> {
let mut v = Vec::with_capacity(4);
v.push(1);