mirror of
https://github.com/MariaDB/server.git
synced 2025-03-08 04:03:30 +01:00
#3752 fail=N pass=N for fractal tree tests refs[t:3752]
git-svn-id: file:///svn/toku/tokudb@33807 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
f392523514
commit
73d5855c69
2 changed files with 7 additions and 6 deletions
|
@ -87,6 +87,7 @@ function runcmd() {
|
||||||
if [ $fail -eq 0 ] ; then
|
if [ $fail -eq 0 ] ; then
|
||||||
if [ $exitcode -eq 0 ] ; then
|
if [ $exitcode -eq 0 ] ; then
|
||||||
result="PASS `mydate` $dir $cmd"
|
result="PASS `mydate` $dir $cmd"
|
||||||
|
let npass=npass+1
|
||||||
else
|
else
|
||||||
result="FAIL `mydate` $dir $cmd"
|
result="FAIL `mydate` $dir $cmd"
|
||||||
let nfail=nfail+1
|
let nfail=nfail+1
|
||||||
|
@ -172,6 +173,7 @@ function build() {
|
||||||
mkdir -p $productbuilddir
|
mkdir -p $productbuilddir
|
||||||
|
|
||||||
let nfail=0
|
let nfail=0
|
||||||
|
let npass=0
|
||||||
|
|
||||||
# checkout into $productbuilddir
|
# checkout into $productbuilddir
|
||||||
runcmd 0 $productbuilddir retry svn checkout -q -r $revision $svnserver/$checkout . >>$tracefile 2>&1
|
runcmd 0 $productbuilddir retry svn checkout -q -r $revision $svnserver/$checkout . >>$tracefile 2>&1
|
||||||
|
@ -273,8 +275,8 @@ function build() {
|
||||||
|
|
||||||
# put the trace into svn
|
# put the trace into svn
|
||||||
if [ $docommit -ne 0 ] ; then
|
if [ $docommit -ne 0 ] ; then
|
||||||
testresult="PASS"
|
testresult="PASS=$npass"
|
||||||
if [ $nfail -ne 0 ] ; then testresult="FAIL=$nfail"; fi
|
if [ $nfail -ne 0 ] ; then testresult="FAIL=$nfail $testresult"; fi
|
||||||
|
|
||||||
local cf=`mktemp`
|
local cf=`mktemp`
|
||||||
echo "$testresult tokudb-build $productname-$BDB $system $release $arch $nodename" >$cf
|
echo "$testresult tokudb-build $productname-$BDB $system $release $arch $nodename" >$cf
|
||||||
|
|
|
@ -267,10 +267,9 @@ function build() {
|
||||||
|
|
||||||
# put the trace into svn
|
# put the trace into svn
|
||||||
if [ $docommit -ne 0 ] ; then
|
if [ $docommit -ne 0 ] ; then
|
||||||
if [ $nfail = 0 ] ; then
|
testresult="PASS=$npass"
|
||||||
testresult="PASS=$npass"
|
if [ $nfail != 0 ] ; then
|
||||||
else
|
testresult="FAIL=$nfail $testresult"
|
||||||
testresult="FAIL=$nfail PASS=$npass"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local cf=`mktemp`
|
local cf=`mktemp`
|
||||||
|
|
Loading…
Add table
Reference in a new issue