~jocave/checkbox/hybrid-amd-gpu-mods

« back to all changes in this revision

Viewing changes to tarmac-verify

  • Committer: Zygmunt Krynicki
  • Date: 2013-05-29 07:50:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2153.
  • Revision ID: zygmunt.krynicki@canonical.com-20130529075030-ngwz245hs2u3y6us
checkbox: move current checkbox code into checkbox-old

This patch cleans up the top-level directory of the project into dedicated
sub-project directories. One for checkbox-old (the current checkbox and all the
associated stuff), one for plainbox and another for checkbox-ng.

There are some associated changes, such as updating the 'source' mode of
checkbox provider in plainbox, and fixing paths in various test scripts that we
have.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
# Destroy VMs after we're done with each image. This works around
7
7
# a bug in virtualbox shared folder filesystem.
8
8
export VAGRANT_DONE_ACTION=destroy
9
 
# Which test runner/container to use. We default to LXC but
10
 
# honor an external env variable to set this.
11
 
TEST_RUNNER=${TEST_RUNNER:-lxc}
12
 
# Use tmpfs for the lxc containers, faster but requires more RAM (about 2 GB)
13
 
# NOTE: Needs to be a non-empty blank string due to weird ${param:-default}
14
 
# semantics
15
 
export KEEP_DATA=" "
 
9
 
16
10
# Run checkbox tests, plainbox tests, integration tests and plainbox docs
17
 
if [ "$TEST_RUNNER" = "vagrant" ]; then
18
 
    time -o timing.dat ./test-in-vagrant.sh
19
 
else
20
 
    time -o timing.dat ./test-in-lxc.sh
21
 
fi
22
 
# Vagrant testing can be done with this line
 
11
time -o timing.dat ./test-in-vagrant.sh
23
12
echo "Complete checkbox, plainbox, integration and docs time:"
24
13
cat timing.dat
25
 
 
26
 
# Ping rtfd.org to refresh the documentation
27
 
curl -X POST http://readthedocs.org/build/plainbox
28
 
curl -X POST http://readthedocs.org/build/checkbox