File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
test/run-make/sanitizer-memory Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ matrix:
1616 if : type = pull_request OR branch = auto
1717
1818 - env : IMAGE=dist-x86_64-linux DEPLOY=1
19- if : branch = try OR branch = auto
19+ if : branch = auto
2020
2121 # "alternate" deployments, these are "nightlies" but don't have assertions
2222 # turned on, they're deployed to a different location primarily for projects
2323 # which are stuck on nightly and don't want llvm assertions in the artifacts
2424 # that they use.
2525 - env : IMAGE=dist-x86_64-linux DEPLOY_ALT=1
26- if : branch = auto
26+ if : branch = try OR branch = auto
2727
2828 - env : >
2929 RUST_CHECK_TARGET=dist
@@ -322,7 +322,7 @@ deploy:
322322 secure : " kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
323323 on :
324324 branch : try
325- condition : $DEPLOY = 1
325+ condition : $DEPLOY_ALT = 1
326326
327327 # this is the same as the above deployment provider except that it uploads to
328328 # a slightly different directory and has a different trigger
Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ impl Config {
528528 // Now that we've reached the end of our configuration, infer the
529529 // default values for all options that we haven't otherwise stored yet.
530530
531- let default = config . channel == "nightly" ;
531+ let default = false ;
532532 config. llvm_assertions = llvm_assertions. unwrap_or ( default) ;
533533
534534 let default = match & config. channel [ ..] {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ if [ "$DEPLOY$DEPLOY_ALT" != "" ]; then
4949 if [ " $NO_LLVM_ASSERTIONS " = " 1" ]; then
5050 RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --disable-llvm-assertions"
5151 elif [ " $DEPLOY_ALT " != " " ]; then
52- RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --disable -llvm-assertions"
52+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --enable -llvm-assertions"
5353 fi
5454else
5555 # We almost always want debug assertions enabled, but sometimes this takes too
Original file line number Diff line number Diff line change 33all :
44ifeq ($(TARGET ) ,x86_64-unknown-linux-gnu)
55ifdef SANITIZER_SUPPORT
6- $(RUSTC) -g -Z sanitizer=memory -Z print-link-args uninit.rs | grep -q librustc_msan
7- $(TMPDIR)/uninit 2>&1 | grep -q use-of-uninitialized-value
6+ $(RUSTC) -g -Z sanitizer=memory -Z print-link-args uninit.rs | tee $(TMPDIR)/out
7+ grep -q librustc_msan $(TMPDIR)/out
8+ $(TMPDIR)/uninit 2>&1 | tee $(TMPDIR)/out
9+ grep -q use-of-uninitialized-value $(TMPDIR)/out
810endif
911endif
1012
You can’t perform that action at this time.
0 commit comments