Skip to content

Commit a81ce5f

Browse files
committed
Auto merge of #24528 - tamird:valgrind-sched, r=alexcrichton
r? @brson
2 parents fcf637b + 1dee7b0 commit a81ce5f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#
7777
# * `CFG_ENABLE_VALGRIND=1` - Run tests under valgrind
7878
# * `VALGRIND_COMPILE=1` - Run the compiler itself under valgrind
79-
# (may require `CFG_ENABLE_VALGRIND`)
79+
# (requires `CFG_ENABLE_VALGRIND`)
8080
#
8181
# * `NO_REBUILD=1` - Don't rebootstrap when testing std
8282
# (and possibly other crates)

mk/platform.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ endif
4646
# see https://blog.mozilla.org/jseward/2012/06/05/valgrind-now-supports-jemalloc-builds-directly/
4747
ifdef CFG_VALGRIND
4848
CFG_VALGRIND += --error-exitcode=100 \
49-
--soname-synonyms=somalloc=NONE \
49+
--fair-sched=try \
5050
--quiet \
51+
--soname-synonyms=somalloc=NONE \
5152
--suppressions=$(CFG_SRC_DIR)src/etc/x86.supp \
5253
$(OS_SUPP)
5354
ifdef CFG_ENABLE_HELGRIND

0 commit comments

Comments
 (0)