about summary refs log tree commit diff
path: root/src/test/run-make/debug-assertions
diff options
context:
space:
mode:
authorBrandon Edens <brandonedens@gmail.com>2016-03-27 23:04:15 -0700
committerBrandon Edens <brandonedens@gmail.com>2016-04-28 23:08:30 -0700
commit8a8493a56593c6082b302d00f55232953dc7db47 (patch)
treec9007e0e19ae6e88019e4ba793c4d82577b2eea8 /src/test/run-make/debug-assertions
parentb1337d309a67e34c1452b4a9a378a23dbd8b3573 (diff)
downloadrust-8a8493a56593c6082b302d00f55232953dc7db47.tar.gz
rust-8a8493a56593c6082b302d00f55232953dc7db47.zip
Add opt-level=s and opt-level=z tests to the existing tests that confirm proper
compiler of other opt-levels.
Diffstat (limited to 'src/test/run-make/debug-assertions')
-rw-r--r--src/test/run-make/debug-assertions/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-make/debug-assertions/Makefile b/src/test/run-make/debug-assertions/Makefile
index 71297562768..76ada90f1e2 100644
--- a/src/test/run-make/debug-assertions/Makefile
+++ b/src/test/run-make/debug-assertions/Makefile
@@ -11,6 +11,10 @@ all:
 	$(call RUN,debug) good
 	$(RUSTC) debug.rs -C opt-level=3
 	$(call RUN,debug) good
+	$(RUSTC) debug.rs -C opt-level=s
+	$(call RUN,debug) good
+	$(RUSTC) debug.rs -C opt-level=z
+	$(call RUN,debug) good
 	$(RUSTC) debug.rs -O
 	$(call RUN,debug) good
 	$(RUSTC) debug.rs