Add opt-level=s and opt-level=z tests to the existing tests that confirm proper
compiler of other opt-levels.
This commit is contained in:
parent
b1337d309a
commit
8a8493a565
@ -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
|
||||
|
@ -5,6 +5,8 @@ all:
|
||||
$(RUSTC) -Copt-level=1 --emit=llvm-bc,llvm-ir,asm,obj,link test-24876.rs
|
||||
$(RUSTC) -Copt-level=2 --emit=llvm-bc,llvm-ir,asm,obj,link test-24876.rs
|
||||
$(RUSTC) -Copt-level=3 --emit=llvm-bc,llvm-ir,asm,obj,link test-24876.rs
|
||||
$(RUSTC) -Copt-level=s --emit=llvm-bc,llvm-ir,asm,obj,link test-24876.rs
|
||||
$(RUSTC) -Copt-level=z --emit=llvm-bc,llvm-ir,asm,obj,link test-24876.rs
|
||||
$(RUSTC) -Copt-level=0 --emit=llvm-bc,llvm-ir,asm,obj,link test-26235.rs
|
||||
$(call RUN,test-26235) || exit 1
|
||||
$(RUSTC) -Copt-level=1 --emit=llvm-bc,llvm-ir,asm,obj,link test-26235.rs
|
||||
@ -13,3 +15,7 @@ all:
|
||||
$(call RUN,test-26235) || exit 1
|
||||
$(RUSTC) -Copt-level=3 --emit=llvm-bc,llvm-ir,asm,obj,link test-26235.rs
|
||||
$(call RUN,test-26235) || exit 1
|
||||
$(RUSTC) -Copt-level=s --emit=llvm-bc,llvm-ir,asm,obj,link test-26235.rs
|
||||
$(call RUN,test-26235) || exit 1
|
||||
$(RUSTC) -Copt-level=z --emit=llvm-bc,llvm-ir,asm,obj,link test-26235.rs
|
||||
$(call RUN,test-26235) || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user