There was an error while loading. Please reload this page.
1 parent b982a75 commit fc7faafCopy full SHA for fc7faaf
configure
@@ -737,8 +737,14 @@ fi
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
+ # If the user has explicitly asked for valgrind tests, then fail
+ if [ -n "$CFG_ENABLE_VALGRIND" ] && [ -n "$CFG_ENABLE_VALGRIND_PROVIDED" ]
742
+ then
743
+ err "No valgrind present, but valgrind tests explicitly requested"
744
+ else
745
+ CFG_DISABLE_VALGRIND_RPASS=1
746
+ putvar CFG_DISABLE_VALGRIND_RPASS
747
+ fi
748
fi
749
750
if [ ! -z "$CFG_GDB" ]
0 commit comments