Skip to content

Commit b982a75

Browse files
committed
configure: Disable valgrind-rpass if there's no valgrind
1 parent a8ea78b commit b982a75

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

configure

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,14 @@ then
733733
probe CFG_JAVAC javac
734734
fi
735735

736+
# the valgrind rpass tests will fail if you don't have a valgrind, but they're
737+
# only disabled if you opt out.
738+
if [ -z "$CFG_VALGRIND" ]
739+
then
740+
CFG_DISABLE_VALGRIND_RPASS=1
741+
putvar CFG_DISABLE_VALGRIND_RPASS
742+
fi
743+
736744
if [ ! -z "$CFG_GDB" ]
737745
then
738746
# Store GDB's version

0 commit comments

Comments
 (0)