Skip to content

Commit 0378f29

Browse files
committed
Rollup merge of rust-lang#24477 - brson:valgrindconfig, r=nrc
Based on @emanueLczirai's patch. r? @nrc
2 parents 2214860 + 31856a5 commit 0378f29

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

configure

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,15 @@ then
759759
fi
760760
fi
761761

762+
# By default the test suite *requires* valgrind. Detect its absence.
763+
if [ -z "$CFG_VALGRIND" ]
764+
then
765+
if [ ! -z "$CFG_ENABLE_VALGRIND" ] || [ -z "$CFG_DISABLE_VALGRIND_RPASS" ]
766+
then
767+
err "valgrind not found, but needed. consider adding --disable-valgrind-rpass"
768+
fi
769+
fi
770+
762771
step_msg "looking for target specific programs"
763772

764773
probe CFG_ADB adb

0 commit comments

Comments
 (0)