1728
by Zygmunt Krynicki
Add tarmac-verify |
1 |
#!/bin/sh
|
2 |
# This script is invoked by tarmac - the automatic branch lader - before it
|
|
3 |
# allows a merge request to land into trunk
|
|
2005.1.1
by Zygmunt Krynicki
tarmac-verify: use set -e to actually stop if tests fail |
4 |
set -e
|
1975.5.9
by Zygmunt Krynicki
tarmac-verify: revive tarmac pre-commit check script |
5 |
|
6 |
# Destroy VMs after we're done with each image. This works around
|
|
7 |
# a bug in virtualbox shared folder filesystem.
|
|
8 |
export VAGRANT_DONE_ACTION=destroy |
|
9 |
||
10 |
# Run checkbox tests, plainbox tests, integration tests and plainbox docs
|
|
2060.2.1
by Daniel Manrique
Adds timing information to command runs, to better evaluate how long our tests and merges are taking so we can improve the process |
11 |
time -o timing.dat ./test-in-vagrant.sh
|
12 |
echo "Complete checkbox, plainbox, integration and docs time:" |
|
13 |
cat timing.dat |
|
1975.5.9
by Zygmunt Krynicki
tarmac-verify: revive tarmac pre-commit check script |
14 |
|
15 |
# Run plainbox-on-checkbox-stable tests and development env tests
|
|
1858.1.2
by Zygmunt Krynicki
Add plainbox tests to tarmac verification script |
16 |
cd plainbox
|
2060.2.1
by Daniel Manrique
Adds timing information to command runs, to better evaluate how long our tests and merges are taking so we can improve the process |
17 |
time -o timing.dat ./test-in-vagrant.sh
|
18 |
echo "plainbox-on-checkbox-stable and development env tests:" |
|
19 |
cat timing.dat |