[t:2328] Added nightly test script to windows scripts

git-svn-id: file:///svn/toku/tokudb@18182 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Yoni Fogel 2013-04-16 23:59:01 -04:00
parent 178820a688
commit 031acf5b97
2 changed files with 28 additions and 1 deletions

View file

@ -27,7 +27,7 @@ if ! test -e ../licenses/install_licenses_amd64.bat; then
exit 1
fi
echo Installing licenses...
(cd ../licenses && cmd /c install_licenses_amd64.bat)
(cd ../licenses && cmd /c install_licenses_amd64.bat) > /dev/null
echo Done installing licenses.
echo
@ -60,9 +60,14 @@ fi
#Set up aliases
( cd amd64/symlinks && cp -d * /usr/local/bin/ )
#Copy nightly script.
cp -u nightly.sh ~/
echo You can now install the intel compiler.
echo You must restart cygwin after intel compiler is installed.
echo If the intel compiler is already installed, just restart cygwin.
echo

22
windows/scripts/nightly.sh Executable file
View file

@ -0,0 +1,22 @@
#!/bin/bash
SVN_USER="tokubuild"
SVN_PASS="Tb091638"
if ! [ -d $HOME/svn.build ] ; then
mkdir -p $HOME/svn.build || exit 1
fi
cd $HOME/svn.build
if ! [ -d tokudb.build ] ; then
svn --username $SVN_USER --password $SVN_PASS co -q --depth=empty https://svn.tokutek.com/tokudb/tokudb.build || exit 1
fi
cd tokudb.build
svn --username $SVN_USER --password $SVN_PASS up -q bin || exit 1
cd bin
./build.check.bash --windows=1 "$@" || exit 1