more automated build stuff

git-svn-id: svn://localhost/ardour2/branches/3.0@9179 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-03-21 19:55:06 +00:00
parent 315c1d5a47
commit da52e3fb4e
2 changed files with 6 additions and 3 deletions

View File

@ -6,6 +6,8 @@ if [ x$BASE = "x" ] ; then
exit 1
fi
echo "Hello, world!"
cd $BASE || exit 1
svn update || exit 1
./waf configure --strict --noconfirm || exit 1

View File

@ -6,11 +6,12 @@ tooldir=$basedir/tools/linux_packaging
u=harrison
p=harrison
for VM in Build_64bit_804s ; do
$vbm startvm $VM --type headless
$vbm guestcontrol exec $VM $tooldir/noderun $basedir --username $u --password $p --wait-for stdout
echo "Waiting for guest control to be available (12 seconds) ... "
sleep 12
echo "Running $tooldir/noderun $basedir on $VM ... "
$vbm guestcontrol exec $VM /bin/sh --arguments $tooldir/noderun --arguments $basedir --username $u --password $p --wait-for stdout
status=$?
$vbm controlvm $VM savestate
done