Commit e255488f authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4389 update the loader stress test refs[t:4389]

git-svn-id: file:///svn/toku/tokudb@38804 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1fe6fe21
...@@ -63,6 +63,19 @@ if [ $revision -eq 0 ] ; then ...@@ -63,6 +63,19 @@ if [ $revision -eq 0 ] ; then
exit 1 exit 1
fi fi
# build
if [ $ftcc = icc ] ; then
d=/opt/intel/bin
if [ -d $d ] ; then
export PATH=$d:$PATH
. $d/compilervars.sh intel64
fi
d=/opt/intel/cilkutil/bin
if [ -d $d ] ; then
export PATH=$d:$PATH
fi
fi
# setup the branchrevision string # setup the branchrevision string
if [ $branch = "." ] ; then if [ $branch = "." ] ; then
branchrevision=$revision branchrevision=$revision
...@@ -110,19 +123,6 @@ if [ $exitcode != 0 ] ; then ...@@ -110,19 +123,6 @@ if [ $exitcode != 0 ] ; then
testresult="FAIL" testresult="FAIL"
fi fi
# build
if [ $ftcc = icc ] ; then
d=/opt/intel/bin
if [ -d $d ] ; then
export PATH=$d:$PATH
. $d/compilervars.sh intel64
fi
d=/opt/intel/cilkutil/bin
if [ -d $d ] ; then
export PATH=$d:$PATH
fi
fi
if [ $testresult = "PASS" ] ; then if [ $testresult = "PASS" ] ; then
pushd loader-stress-$branchrevision/$tokudb pushd loader-stress-$branchrevision/$tokudb
echo `date` make release -s CC=$ftcc HAVE_CILK=$have_cilk BRTLOADER=$brtloader >>$runfile echo `date` make release -s CC=$ftcc HAVE_CILK=$have_cilk BRTLOADER=$brtloader >>$runfile
...@@ -155,7 +155,7 @@ fi ...@@ -155,7 +155,7 @@ fi
if [ $commit != 0 ] ; then if [ $commit != 0 ] ; then
svn add $runfile svn add $runfile
retry svn commit -m \"$testresult loader stress $rows $dictionaries $tokudb $branchrevision $system $arch $myhost\" $runfile retry svn commit -m \"$testresult loader stress $rows $dictionaries $tokudb $branchrevision $ftcc $ftccversion $system $arch $myhost\" $runfile
fi fi
popd popd
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment