diff --git a/validate/launcher/main.py b/validate/launcher/main.py index 74a442e5a1..61f47df7ac 100644 --- a/validate/launcher/main.py +++ b/validate/launcher/main.py @@ -275,6 +275,14 @@ class LauncherConfig(Loggable): self.testsuites_dir == DEFAULT_TESTSUITES_DIR: self.testsuites_dir = os.path.join(self.main_dir, self.clone_dir, "testsuites") + if self.valgrind: + try: + subprocess.check_output("valgrind --help", shell=True) + except subprocess.CalledProcessError: + printc("Want to use valgrind, but not avalaible on the system", + Colors.FAIL) + return False + return True def set_http_server_dir(self, path):