1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# This script is invoked by tarmac - the automatic branch lader - before it
# allows a merge request to land into trunk
set -e
# Destroy VMs after we're done with each image. This works around
# a bug in virtualbox shared folder filesystem.
export VAGRANT_DONE_ACTION=destroy
# Run checkbox tests, plainbox tests, integration tests and plainbox docs
time -o timing.dat ./test-in-vagrant.sh
echo "Complete checkbox, plainbox, integration and docs time:"
cat timing.dat
# Run plainbox-on-checkbox-stable tests and development env tests
cd plainbox
time -o timing.dat ./test-in-vagrant.sh
echo "plainbox-on-checkbox-stable and development env tests:"
cat timing.dat
|