Specify the CTest MemoryCheckCommand setting in a ctest(1) dashboard client script.
MemoryCheckCommand
ctest(1)
CTEST_HG_UPDATE_OPTIONS
CTEST_MEMORYCHECK_COMMAND_OPTIONS