~ubuntu-branches/ubuntu/quantal/software-center/quantal-proposed

« back to all changes in this revision

Viewing changes to README.tests-dep8

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2012-10-11 15:33:05 UTC
  • mfrom: (195.1.18 quantal)
  • Revision ID: package-import@ubuntu.com-20121011153305-fm5ln7if3rpzts4n
Tags: 5.4.1.1
* lp:~mvo/software-center/reinstall-previous-purchase-token-fix:
  - fix reinstall previous purchases that have a system-wide
    license key LP: #1065481
* lp:~mvo/software-center/lp1060106:
  - Add missing gettext init for utils/update-software-center-agent
    (LP: #1060106)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
= Background =
 
2
 
 
3
The testsuite is automatically run on the any a server that is
 
4
responsible for running the DEP8 enabled testsuites for the
 
5
debian packages.
 
6
 
 
7
== Running locally ==
 
8
 
 
9
To test locally in a local VM:
 
10
 
 
11
Build a VM that the tests can be run inside:
 
12
$ bzr co lp:auto-package-testing
 
13
$ cd auto-package-testing/bin
 
14
$ ./prepare-testbed -r quantal i386
 
15
[downloads 200mb data and takes a long time to finish]
 
16
$ ./run-adt-test software-center
 
17
 
 
18
Login into the VM once and remove cloud-init to prevent
 
19
delay on startup.
 
20
 
 
21
Or login into the VM itself:
 
22
$ kvm -snapshot -m 1024 /tmp/adt/disks/pristine-quantal-i386.img
 
23
[wait a long time, login as ubuntu/ubuntu]
 
24
$ bzr co lp:software-center
 
25
# adt-run --built-tree=. --- adt-virt-null
 
26