diff --git a/utils/lit/lit/LitConfig.py b/utils/lit/lit/LitConfig.py index 98ca2f04730..9b62470902b 100644 --- a/utils/lit/lit/LitConfig.py +++ b/utils/lit/lit/LitConfig.py @@ -47,6 +47,9 @@ class LitConfig: if self.valgrindLeakCheck: self.valgrindTriple += "_leak" self.valgrindArgs.append('--leak-check=full') + else: + # The default is 'summary'. + self.valgrindArgs.append('--leak-check=no') self.valgrindArgs.extend(self.valgrindUserArgs)