Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
keep quiet for valgrind tests on ci to avoid false positives with tesh
authorAugustin Degomme <adegomme@gmail.com>
Tue, 28 Jan 2020 10:14:25 +0000 (11:14 +0100)
committerAugustin Degomme <adegomme@gmail.com>
Tue, 28 Jan 2020 10:14:47 +0000 (11:14 +0100)
src/smpi/smpirun.in
tools/cmake/scripts/my_valgrind.pl

index 3a79f5a..da48f7c 100755 (executable)
@@ -527,7 +527,7 @@ fi
 
 # Do not remove, this variable may be used by user code (e.g. StarPU)
 export SMPI_GLOBAL_SIZE=${NUMPROCS}
-if [ -n "${KEEP}" ] ; then
+if [ -n "${KEEP}" -a -z "${QUIET}" ] ; then
     echo ${EXEC} ${PRIVATIZE} ${TRACEOPTIONS} ${SIMOPTS} ${PLATFORMTMP} ${APPLICATIONTMP}
     if [ ${HOSTFILETMP} = 1 ] ; then
         echo "Generated hostfile ${HOSTFILE} kept."
index 107ffd4..fadf32c 100755 (executable)
@@ -14,7 +14,7 @@ my $count = 0;
 while (defined(my $arg = shift)) {
 #    print "arg($count)$arg\n";
     if ($arg =~ m!/smpirun$!) {
-        @argv = ( $arg, "-keep-temps", "-wrapper", "@argv" );
+        @argv = ( $arg, "-keep-temps", "-quiet", "-wrapper", "@argv" );
     } elsif ($arg eq "--cd") {
         $arg = shift;
         print "cd $arg\n";