~milo/linaro-image-tools/bug1054422

« back to all changes in this revision

Viewing changes to README

  • Committer: Paul Sokolovsky
  • Date: 2012-08-28 13:10:52 UTC
  • mfrom: (550.2.3 readme-tests)
  • Revision ID: paul.sokolovsky@linaro.org-20120828131052-674jtlnmbhwj52t8
[merge] Elaborate test dependencies in README.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
  - python-argparse
30
30
  - dpkg-dev
31
31
  - python-parted
32
 
  - python-dbus
 
32
  - python-dbus (and dbus, udisks)
33
33
  - python-apt
34
34
  - qemu-kvm
35
 
  - sfdisk
 
35
  - sfdisk (from util-linux)
36
36
  - apt-utils
 
37
  - pep8
37
38
 
38
39
Also consider installing pyflakes, which is optional but will enable more
39
40
tests.
40
41
 
41
 
And run the following command:
 
42
Some of the packages above require fixes, which are as of Ubuntu 12.04 are
 
43
not yet in upstream, so using Linaro PPA is required:
 
44
 
 
45
  $ sudo add-apt-repository ppa:linaro-maintainers/tools
 
46
 
 
47
Then, you can install all packages listed above in one go with the following
 
48
command:
 
49
 
 
50
  $ sudo apt-get install testrepository python-testtools python-debian \
 
51
        python-argparse dpkg-dev python-parted dbus udisks python-dbus \
 
52
        python-apt qemu-kvm util-linux apt-utils pep8 pyflakes
 
53
 
 
54
To initialized testsuite, run the following command:
42
55
 
43
56
  $ testr init
44
57