| 1 |
#!/bin/sh |
| 2 |
echo "VVP valgrind errors." |
| 3 |
echo "-------------------------" |
| 4 |
fgrep "ERROR SUMMARY" log/*.log | fgrep -v " 0 errors" || echo "No Errors." |
| 5 |
|
| 6 |
tail -n8 log/*.log | fgrep "definitely lost" | fgrep -v " 0 bytes" || \ |
| 7 |
echo "No \"definitely lost\" memory in vvp." |
| 8 |
|
| 9 |
tail -n8 log/*.log | fgrep "indirectly lost" | fgrep -v " 0 bytes" || \ |
| 10 |
echo "No \"indirectly lost\" memory in vvp." |
| 11 |
|
| 12 |
tail -n8 log/*.log | fgrep "possibly lost" | fgrep -v " 0 bytes" || \ |
| 13 |
echo "No \"possibly lost\" memory in vvp." |
| 14 |
|
| 15 |
# egrep "^\*\*[0-9]+\*\*" log/*.log || echo "No \"missed deletes\" in vvp." |
| 16 |
|
| 17 |
echo "" |
| 18 |
echo "VPI valgrind errors." |
| 19 |
echo "-------------------------" |
| 20 |
fgrep "ERROR SUMMARY" vpi_log/*.log | fgrep -v " 0 errors" || echo "No Errors." |
| 21 |
|
| 22 |
tail -n8 vpi_log/*.log | fgrep "definitely lost" | fgrep -v " 0 bytes" || \ |
| 23 |
echo "No \"definitely lost\" memory in vvp." |
| 24 |
|
| 25 |
tail -n8 vpi_log/*.log | fgrep "indirectly lost" | fgrep -v " 0 bytes" || \ |
| 26 |
echo "No \"indirectly lost\" memory in vvp." |
| 27 |
|
| 28 |
tail -n8 vpi_log/*.log | fgrep "possibly lost" | fgrep -v " 0 bytes" || \ |
| 29 |
echo "No \"possibly lost\" memory in vvp." |
| 30 |
|
| 31 |
# egrep "^\*\*[0-9]+\*\*" vpi_log/*.log || echo "No \"missed deletes\" in vvp." |