about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorScott A Carr <s.carr1024@gmail.com>2016-08-02 14:47:53 -0700
committerScott A Carr <s.carr1024@gmail.com>2016-08-02 14:47:53 -0700
commitd5908a32509ccbbc552179cd75d22c8ea20d4092 (patch)
tree199abc12a1425e1a2806d42196ef43065a75d95a /src
parentd918c990de1e6d0f2a8b3b4a0535de1981029679 (diff)
downloadrust-d5908a32509ccbbc552179cd75d22c8ea20d4092.tar.gz
rust-d5908a32509ccbbc552179cd75d22c8ea20d4092.zip
run mir opt test with mir-opt-level=3 so they fire
Diffstat (limited to 'src')
-rw-r--r--src/tools/compiletest/src/runtest.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index f2acfa517ce..6647a1a0a93 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -1340,6 +1340,8 @@ actual:\n\
             MirOpt => {
                 args.extend(["-Z",
                              "dump-mir=all",
+                             "-Z",
+                             "mir-opt-level=3",
                              "-Z"]
                             .iter()
                             .map(|s| s.to_string()));