- 03 9月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
The unittest module, and unittest2 backport on Python 2.6, is capable of finding unittests and running them. So, effectively, we do not need nose at all. This patch removes the dependency on nose, replacing the run script with a version based solely on the unittest module. One change of functionality is that run now looks and runs tests in the standard selftests directories (unit, functional, doc), and does not accept command line arguments. If one wants to run a subset of them, it's pretty easy to just use the unittest module for that: $ python -m unittest discover -s selftests/unit Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 05 8月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
They are necessary for the GDB functionality in avocado, so let's bring them in. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 04 8月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
With one new unittest requiring mock, now python-mock is necessary as a build require. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 07 7月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
This fixes #628. Add a couple of simple shell scripts that can be listed and executed with avocado. Let's update our documentation to use this new dir and avoid people confused with our wrappers. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 18 6月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
The recent API reorganization made a module requiring importlib to be loaded at setup stage. Hence the backport python-importlib, available in EPEL, has to be added to the BuildRequires field of the spec. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 16 6月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 09 6月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
The initial idea about the avocado.restclient namespace was that eventually users could write scripts using that as an API to interact with avocado-server using Python code. While the idea is still valid, the avocado-server interface is a simple and standards compliant RESTful interface. Thus, users can still easily interact with it without us having to support a formal Python API at this point. In the future, if need arises, we can improve the Python REST client API and promote it to a public namespace. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 26 5月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
The GDB config file was not being installed and packaged in the RPM package. This should fix it. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com> Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 19 5月, 2015 1 次提交
-
-
由 Rudá Moura 提交于
Update package to version 0.24.0 and fix position of plugins. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
- 22 4月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 14 4月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
This change adds flexibility to the current sysinfo implementation in the sense that the commands to be executed and files to be collected are no longer hard coded, but configurable. The configuration file gains a section for that, and the files themselves are plain text files that can be easily customized by users to include extra commands/files. Also, the the configuration for the profilers has been adjusted for a uniform look, feel and experience. Changes from v1: * Return the default `profiler` parameter value to None, so that it looks at the configuration value by default Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 30 3月, 2015 3 次提交
-
-
由 Cleber Rosa 提交于
It seems a good idea, and another safety net, to run the selftests during the build of packages. For now, it's not trivial to run the functional tests, so let's at least run the unittests. Another current limitation is that unittests are only run on Fedora and not on EL6 or EL7, and the reason for that are missing dependencies on both EPEL6 and EPEL7. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The basic idea here is to put all common requirements on a common line and deal with the differences in conditional blocks. Also, python-flexmock is not available on EPEL 7, but available on all other supported platforms. Finally, python-yaml and PyYAML are in their own lines because it makes it easier to see that they're the same package with different names. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This means that we include the Makefile in the source tarball and just use the `man` target. With regards to portability among Python version, this should not be an issue as rst2man on the system itself will the correct version. In a sense, it's just another utility, it doesn't really matter it's written in Python. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 25 3月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
This patch is initial support for people using custom bash scripts with avocado. Tests should use: PATH=$(avocado "exec-path"):$PATH and then they can utilize the helpers. This version contain functions to write to Test.log the same way it's possible from python including failing the test with TestWarn in case avocado_warn was used. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 19 3月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 18 3月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Under .el6, we depend on a series of EPEL available backports, so we have to define the dependencies conditionally. The changes here make avocado to finally build on RHEL6/CentOS6. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 27 2月, 2015 2 次提交
-
-
由 Cleber Rosa 提交于
Introduce a new command line application that is designed to interact with avocado-server. Changes from v1: * Fixed reference in the docstrings to arcli (from arc) * Release number bump on spec file * Add missing avocado.restclient.cli.actions module to setup.py Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
An essential part of a client interacting with avocado-server is to handle the reponse of a request. The most common type of response type is a results reponse, when one performs a GET to a resource "root" path and and expects to return a list of resources. To make that more pythonic, this commit introduces a ResultResponse class that accepts the JSON response data and checks for completeness. If results response fails to comply with the required data members, meaningful exceptions will be raised. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 06 2月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 03 2月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 20 1月, 2015 2 次提交
-
-
由 Ademar de Souza Reis Jr 提交于
Minor improvement to the initial description in the man page and update links to point to the (new) project page everywhere. Signed-off-by: NAdemar de Souza Reis Jr <areis@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 16 12月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 11 12月, 2014 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Whatever is in the system wide settings can be later overriden by users. Also, change the settings.config_path attribute to settings.config_paths, and change it to a list. This way users can see the order in which their config files are parsed. Also, Introduce a system wide conf.d directory, that is supposed to ship config files for avocado plugins. The order for config parsing is: * System wide avocado config (/etc/avocado/avocado.conf) * System wide avocado plugins config (/etc/avocado/conf.d/*.conf) * Local config for the user running avocado (~/.config/avocado/avocado.conf) Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
As discussed in the Trello card https://trello.com/c/WsDMg7RP/161-initial-support-for-avocado-config-files-server-and-client Move settings.ini to avocado.conf. The basic idea is that the name is more intuitive. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 04 12月, 2014 1 次提交
-
-
由 Rudá Moura 提交于
Include all examples/wrappers/*.sh scripts when building the `avocado-examples` package. The scripts will live under `/usr/share/avocado/wrappers` when installed. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
- 03 12月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Fixes a sloppy copy and paste I made in the spec file. Signed-off-by: NLucas Menghel Rodrigues <lmr@redhat.com>
-
- 27 11月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 25 11月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Add a subpackage plugins-output-html, that will turn HTML functionality optional in avocado. This way we don't force people to install unnecessary dependencies for the functionality they actually want. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 19 11月, 2014 1 次提交
-
-
由 Lukáš Doktor 提交于
This patch wraps LZMA archive in order to work with python 2.7 tarfile. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 13 10月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 12 9月, 2014 3 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Given that we made the specific rpm dir change Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 10 9月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Our new upstream version. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 03 9月, 2014 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
It is a necessary dependency of avocado. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-