mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
[t:4814] make fractal tree test script show more errors in the commit message
git-svn-id: file:///svn/toku/tokudb@43222 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
b91396b82c
commit
80ccbbbed2
1 changed files with 15 additions and 4 deletions
|
@ -224,7 +224,8 @@ cp -r Testing/$tag $resultsdir
|
|||
cf=$(my_mktemp ftresult)
|
||||
cat "$resultsdir/trace" | awk '
|
||||
BEGIN {
|
||||
leaks=0;
|
||||
errs=0;
|
||||
look=0;
|
||||
ORS=" ";
|
||||
}
|
||||
/[0-9]+% tests passed, [0-9]+ tests failed out of [0-9]+/ {
|
||||
|
@ -232,11 +233,21 @@ BEGIN {
|
|||
total=$9;
|
||||
pass=total-fail;
|
||||
}
|
||||
/^Memory Leak - [0-9]+/ {
|
||||
leaks=$4;
|
||||
/^Memory checking results:/ {
|
||||
look=1;
|
||||
FS=" - ";
|
||||
}
|
||||
/Errors while running CTest/ {
|
||||
look=0;
|
||||
FS=" ";
|
||||
}
|
||||
{
|
||||
if (look) {
|
||||
errs+=$2;
|
||||
}
|
||||
}
|
||||
END {
|
||||
print "LEAKS=" leaks;
|
||||
print "ERRORS=" errs;
|
||||
if (fail>0) {
|
||||
print "FAIL=" fail
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue