]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove support for running system tests under Valgrind
authorOndřej Surý <ondrej@isc.org>
Wed, 9 Mar 2022 10:28:06 +0000 (11:28 +0100)
committerMichal Nowak <mnowak@isc.org>
Mon, 4 Dec 2023 17:27:51 +0000 (18:27 +0100)
Valgrind support has been scarcely used.

bin/tests/system/start.pl

index 9253831782ea59aba412cc299ffd987f7bced229..38ceb6e6b39eab5722f333b3b630d341b8eb45a0 100755 (executable)
@@ -230,22 +230,10 @@ sub construct_ns_command {
 
        my $command;
 
-       if ($ENV{'USE_VALGRIND'}) {
-               $command = "valgrind -q --gen-suppressions=all --num-callers=48 --fullpath-after= --log-file=named-$server-valgrind-%p.log ";
-
-               if ($ENV{'USE_VALGRIND'} eq 'helgrind') {
-                       $command .= "--tool=helgrind ";
-               } else {
-                       $command .= "--tool=memcheck --track-origins=yes --leak-check=full ";
-               }
-
-               $command .= "$NAMED -m none ";
+       if ($taskset) {
+               $command = "taskset $taskset $NAMED ";
        } else {
-               if ($taskset) {
-                       $command = "taskset $taskset $NAMED ";
-               } else {
-                       $command = "$NAMED ";
-               }
+               $command = "$NAMED ";
        }
 
        my $args_file = $testdir . "/" . $server . "/" . "named.args";