~jeremychang/linaro-image-tools/android-boottarball

« back to all changes in this revision

Viewing changes to linaro_image_tools/tests/integration.txt

  • Committer: Loïc Minier
  • Date: 2011-03-23 22:25:10 UTC
  • mto: This revision was merged to the branch mainline in revision 301.
  • Revision ID: lool@dooz.org-20110323222510-z0pg5cp5cid4qhcf
Shuffle modules to be under the same hierarchy:
- linaro_media_create -> linaro_image_tools/media_create
- hwpack -> linaro_image_tools.hwpack
- tests -> linaro_image_tools.tests
this will notably give us a place to share code between
linaro_image_tools.media_create and .hwpack.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
    # This should print nothing to stdout but will unpack the given binary
6
6
    # tarball under the given directory.
7
 
    >>> from linaro_media_create.unpack_binary_tarball import unpack_binary_tarball
 
7
    >>> from linaro_image_tools.media_create.unpack_binary_tarball import unpack_binary_tarball
8
8
    >>> unpack_binary_tarball(<path-to-binary-tarball>, <dir-to-unpack>)
9
9
 
10
10
    # Partition (for real!) /dev/sdb for a beagle board and return the devices
11
11
    # for the boot and root partitions.
12
 
    >>> from linaro_media_create.partitions import Media, setup_partitions
13
 
    >>> from linaro_media_create.boards import board_configs
 
12
    >>> from linaro_image_tools.media_create.partitions import Media, setup_partitions
 
13
    >>> from linaro_image_tools.media_create.boards import board_configs
14
14
    >>> setup_partitions(
15
15
    ...     board_configs['beagle'], Media('/dev/sdb'), None, 'boot',
16
16
    ...     'root', 'ext3', True, True, True)