[Kimchi-devel] [PATCH] issue #504: Add details on how to install test dependencies
Aline Manera
alinefm at linux.vnet.ibm.com
Mon Dec 8 14:16:15 UTC 2014
The package python-requests is also only needed to run the tests
On 12/08/2014 12:02 PM, Crístian Viana wrote:
> The package dependencies listed in docs/README.md are only required for
> building, installing and running Kimchi. If the user wants to run the
> tests, they need to install some extra packages which are not listed in
> that file.
>
> Update the file docs/README.md by adding the dependencies required for
> testing.
>
> Fix issue #504 ("check pyflakes installation").
>
> Signed-off-by: Crístian Viana <vianac at linux.vnet.ibm.com>
> ---
> docs/README.md | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/docs/README.md b/docs/README.md
> index ed3d489..681acab 100644
> --- a/docs/README.md
> +++ b/docs/README.md
> @@ -69,6 +69,9 @@ Install Dependencies
> Packages version requirement:
> python-psutil >= 0.6.0
>
> + # These dependencies are only required if you want to run the tests:
> + $ sudo yum install pyflakes python-pep8
> +
> *Note for RHEL users*: Some of the above packages are located in the Red Hat
> EPEL repositories. See
> [this FAQ](http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F)
> @@ -94,6 +97,9 @@ channel at RHN Classic or Red Hat Satellite.
> python-jsonschema >= 1.3.0
> python-psutil >= 0.6.0
>
> + # These dependencies are only required if you want to run the tests:
> + $ sudo apt-get install pyflakes pep8
> +
> **For openSUSE:**
>
> $ sudo zypper install gcc make autoconf automake gettext-tools git \
> @@ -110,6 +116,9 @@ channel at RHN Classic or Red Hat Satellite.
> Packages version requirement:
> python-psutil >= 0.6.0
>
> + # These dependencies are only required if you want to run the tests:
> + $ sudo zypper install python-pyflakes python-pep8
> +
> *Note for openSUSE users*: Some of the above packages are located in different
> openSUSE repositories. See
> [this FAQ](http://download.opensuse.org/repositories/home:GRNET:synnefo/) for
> @@ -135,6 +144,16 @@ Run
>
> $ sudo kimchid --host=0.0.0.0
>
> +
> +Test
> +----
> +
> + $ make check-local # check for i18n and formatting errors
> + $ sudo make check
> +
> +After all tests are executed, a summary will be displayed containing any
> +errors/failures which might have occurred.
> +
> Usage
> -----
>
More information about the Kimchi-devel
mailing list