automated build stuff continues
[ardour2.git] / tools / linux_packaging / run
blobc6951e503198652c88e27b5bd0e1f553d01cee58
1 #!/bin/sh
3 vbm=VBoxManage
4 basedir=/home/harrison/ardour/3.0
5 tooldir=$basedir/tools/linux_packaging
6 u=harrison
7 p=harrison
9 for VM in Build_32bit_804s ; do
10 $vbm startvm $VM --type headless
11 echo "$VM: Waiting for guest control to be available (12 seconds) ... "
12 sleep 12
13 echo "$VM: Running $tooldir/noderun $basedir on $VM ... "
14 $vbm guestcontrol exec $VM /bin/sh \
15 --arguments -vx \
16 --arguments $tooldir/noderun \
17 --arguments $basedir \
18 --environment PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
19 --username $u --password $p --wait-for stdout
20 status=$?
21 $vbm controlvm $VM savestate
22 if [ $status -ne 0 ] ; then
23 echo "Build failed while in VM $VM"
24 break
26 done