3 # Copyright (c) 2012-2023. The SimGrid Team. All rights reserved.
5 # This program is free software; you can redistribute it and/or modify it
6 # under the terms of the license (GNU LGPL) which comes with this package.
11 # Many other parameters (such as trace-children) are set in Tests.cmake
12 my @argv = ("valgrind", "--quiet");
15 while (defined(my $arg = shift)) {
16 # print "arg($count)$arg\n";
17 if ($arg =~ m!/smpirun$!) {
18 @argv = ( $arg, "-keep-temps", "-quiet", "-wrapper", "@argv" );
19 } elsif ($arg eq "--cd") {
31 # map { print "$_ " } @argv;