Skip to content

Commit

Permalink
configure: Don't succeed if valgrind isn't available. Fixes rust-lang…
Browse files Browse the repository at this point in the history
…#18588

Based on @emanueLczirai's patch.
  • Loading branch information
brson committed Apr 15, 2015
1 parent ce27d02 commit fb64c7b
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 @@ -750,6 +750,15 @@ then
fi
fi

# By default the test suite *requires* valgrind. Detect it's 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 fb64c7b

Please sign in to comment.