Skip to content

Commit

Permalink
Rollup merge of rust-lang#24477 - brson:valgrindconfig, r=nrc
Browse files Browse the repository at this point in the history
Based on @emanueLczirai's patch.

r? @nrc
  • Loading branch information
steveklabnik committed Apr 24, 2015
2 parents 2214860 + 31856a5 commit 0378f29
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,15 @@ then
fi
fi

# By default the test suite *requires* valgrind. Detect its absence.
if [ -z "$CFG_VALGRIND" ]
then
if [ ! -z "$CFG_ENABLE_VALGRIND" ] || [ -z "$CFG_DISABLE_VALGRIND_RPASS" ]
then
err "valgrind not found, but needed. consider adding --disable-valgrind-rpass"
fi
fi

step_msg "looking for target specific programs"

probe CFG_ADB adb
Expand Down

0 comments on commit 0378f29

Please sign in to comment.