Skip to content

Commit

Permalink
Auto merge of #24528 - tamird:valgrind-sched, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Apr 18, 2015
2 parents fcf637b + 1dee7b0 commit a81ce5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
#
# * `CFG_ENABLE_VALGRIND=1` - Run tests under valgrind
# * `VALGRIND_COMPILE=1` - Run the compiler itself under valgrind
# (may require `CFG_ENABLE_VALGRIND`)
# (requires `CFG_ENABLE_VALGRIND`)
#
# * `NO_REBUILD=1` - Don't rebootstrap when testing std
# (and possibly other crates)
Expand Down
3 changes: 2 additions & 1 deletion mk/platform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ endif
# see https://blog.mozilla.org/jseward/2012/06/05/valgrind-now-supports-jemalloc-builds-directly/
ifdef CFG_VALGRIND
CFG_VALGRIND += --error-exitcode=100 \
--soname-synonyms=somalloc=NONE \
--fair-sched=try \
--quiet \
--soname-synonyms=somalloc=NONE \
--suppressions=$(CFG_SRC_DIR)src/etc/x86.supp \
$(OS_SUPP)
ifdef CFG_ENABLE_HELGRIND
Expand Down

0 comments on commit a81ce5f

Please sign in to comment.