File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ elif ((i==1)) ;then
5151 ./pw_test.exe
5252 echo " valgrind test:(1 processors)"
5353 valgrind ./pw_test.exe > _tmp.txt 2>&1
54- cat _tmp.txt| grep " ERROR SUMMARY"
54+ cat _tmp.txt| egrep " ( ERROR SUMMARY)|(lost) " ;
5555else
5656 echo " 1 processor:"
5757 ./pw_test.exe
7070if (( i== 3 )) ; then
7171 echo " valgrind test:(1 processors)"
7272 valgrind ./pw_test.exe > _tmp.txt 2>&1
73- cat _tmp.txt| grep " ERROR SUMMARY" ;
73+ cat _tmp.txt| egrep " ( ERROR SUMMARY)|(lost) " ;
7474 echo " valgrind test:(2 processors)"
7575 mpirun -np 2 valgrind ./pw_test.exe > _tmp.txt 2>&1
76- cat _tmp.txt| grep " ERROR SUMMARY" ;
76+ cat _tmp.txt| egrep " ( ERROR SUMMARY)|(lost) " ;
7777 echo " valgrind test:(8 processors)"
7878 mpirun -np 8 valgrind ./pw_test.exe > _tmp.txt 2>&1
79- cat _tmp.txt| grep " ERROR SUMMARY" ;
79+ cat _tmp.txt| egrep " ( ERROR SUMMARY)|(lost) " ;
8080fi
8181make clean > /dev/null 2>&1
8282done
You can’t perform that action at this time.
0 commit comments