Skip to content

Commit

Permalink
also run some generator tests without MIR optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 28, 2020
1 parent 9ea5eed commit 3a129df
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/ui/generator/conditional-drop.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// run-pass

// revisions: default nomiropt
//[nomiropt]compile-flags: -Z mir-opt-level=0

#![feature(generators, generator_trait)]

use std::ops::Generator;
Expand Down
3 changes: 3 additions & 0 deletions src/test/ui/generator/control-flow.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// run-pass

// revisions: default nomiropt
//[nomiropt]compile-flags: -Z mir-opt-level=0

#![feature(generators, generator_trait)]

use std::marker::Unpin;
Expand Down
3 changes: 3 additions & 0 deletions src/test/ui/generator/drop-env.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// run-pass

// revisions: default nomiropt
//[nomiropt]compile-flags: -Z mir-opt-level=0

#![feature(generators, generator_trait)]

use std::ops::Generator;
Expand Down
3 changes: 3 additions & 0 deletions src/test/ui/generator/smoke-resume-args.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// run-pass

// revisions: default nomiropt
//[nomiropt]compile-flags: -Z mir-opt-level=0

#![feature(generators, generator_trait)]

use std::fmt::Debug;
Expand Down
3 changes: 3 additions & 0 deletions src/test/ui/generator/smoke.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// run-pass

// revisions: default nomiropt
//[nomiropt]compile-flags: -Z mir-opt-level=0

// ignore-emscripten no threads support
// compile-flags: --test

Expand Down

0 comments on commit 3a129df

Please sign in to comment.