- 18 9月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Spec files Update
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 17 9月, 2015 9 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
With the recent changes in how the unittest suite runs, now all functional test suites run on new COPR builds. Let's include the dependencies necessary for the tests to run. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado.core.remoter: Handle fabric NetworkError properly
-
由 Lucas Meneghel Rodrigues 提交于
avocado.utils.process: Add missing parenthesis
-
由 Hao Liu 提交于
Signed-off-by: NHao Liu <hliu@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
selftests/test_interrupt.py: Make test compatible with psutils 0.6
-
由 Lucas Meneghel Rodrigues 提交于
Fedora 21 ships psutils 0.6, that has the API psutil.get_pid_list() instead of psutil.pids(). Let's make both compatible, for the sake of running unittests on COPR builds. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
examples/testplans/release.json: Change vt plugin identifiers
-
由 Lucas Meneghel Rodrigues 提交于
We did change the short name identifiers that are displayed in `avocado plugins`. Let's update so people don't get lost. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 16 9月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado.core.plugins: Print traceback on failure
-
由 Lukáš Doktor 提交于
On plugin import failure we get the error message, which in case of IOError is: "IOError: [Errno 2] No such file or directory". We have to debug it or add some prints to discover, what happened. Let's add optional traceback print in the same fashion as the "loader" does. (the output is ignored unless the user enables "avocado.app.tracebacks") Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 15 9月, 2015 3 次提交
-
-
由 Lukáš Doktor 提交于
The response of very slow machine with uninitilized sshd causes fabric to raise NetworkError even though timeout was not yet reached. This patch calls fabric in loop until the timeout is exhausted. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
-
由 Lukáš Doktor 提交于
Initialize "root" logger as "NullHandler" to prevent other libraries from initializing. Avocado adds file or stream handlers when it requires them (avocado-vt). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 14 9月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
-
- 13 9月, 2015 1 次提交
-
-
由 Hao Liu 提交于
In module avocado.core.plugins.builtin, There is a calling of os.listdir() to iterate files in the installed python directory. If avocado is installed in an .egg file which is compressed, it will fail to load because that path does not really exists. To avoid this failure, this patch set zip_safe to False explicitly. So setuptools will install package to a real directory instead of a zipped .egg file. Signed-off-by: NHao Liu <hliu@redhat.com>
-
- 11 9月, 2015 7 次提交
-
-
由 Lukáš Doktor 提交于
docs: Add Multiplexation to WritingTests.html#basic-example
-
由 Srikanth Aithal 提交于
Currently the yaml contents in this page is missing '!mux' keyword, run as-is will show users errors. Fixing by adding keyword '!mux' to the yaml content. Signed-off-by: NSrikanth Aithal <sraithal@linux.vnet.ibm.com>
-
由 Lucas Meneghel Rodrigues 提交于
selftests/run: Ensure bad statuses trigger an exit code != 0
-
由 Lucas Meneghel Rodrigues 提交于
The way we built the unittest runner will happily ignore errors, which is bad from a CI standpoint. Let's ensure that errors don't go unnoticed by analyzing the results object and see if it's got errors or failures. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Makefile: Allow different paths
-
由 Lukáš Doktor 提交于
Some people clone repositories to different names, which breaks the "make link" functionality. This patch uses dynamic variables to support such usage. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
RFC: Makefile: Move "make link" to plugins
-
- 10 9月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
This patch removes the hardcoded plugin linking and instead queries all ../!(avocado)/Makefile files to link or unlink the plugins. This should help people to deploy own plugins in the same fashion without the need to modify avocado's main Makefile. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 09 9月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado.core.data_dir: Make data dir to honor settings when running f…
-
由 Lucas Meneghel Rodrigues 提交于
We should be honoring the setting in the avocado config files if running from git repos. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 08 9月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
docs: Configuration - Add note about alternate config locations
-
由 Lucas Meneghel Rodrigues 提交于
If avocado is running from git repos, instead of a regular system wide install, in tree config files will be used instead of the system wide config files. Make that clear in the documentation. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 05 9月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
-
- 04 9月, 2015 2 次提交
-
-
由 Lukáš Doktor 提交于
Add simple script to see the "core" and "utils" unittest code coverage. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
selftests/functional/test_interrupt.py: Fix NoSuchProcess bug
-
- 03 9月, 2015 7 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
If between psutil.procs() and the instantiation of the Process object the given pid has terminated, we'll get a NoSuchProcess error from psutils. Let's expand the list comprehension to avoid getting caught by such a condition. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Use standard unittest (and setuptools) for execution of selftests
-
由 Cleber Rosa 提交于
All other tests (unit and functional) are based on unittest. Let's do the same to this one, so that the default unittest discover code finds it and runs it. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Even though I may be the one to blame about coming up with this "simple import magic", I believe it was a mistake and we should get rid of them. There are a couple of other ways to actually do development out of of a source tree, including running unittests that do not require this amount of boiler plate code. Examples include just setting the PYTHONPATH environment variable to actually run (setuptools based) `python setup.py develop`. The little bits of what looks like the import magic that was left, is not really import magic. It's just that functional tests need to locate the Avocado source tree base directory to run the test runner from it. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
One standard setuptools command is "test". That command does some useful setup and then runs the test in a verbose mode. There are a couple of reasons for activating that, including that setuptools can help us support a Python 3 version of Avocado by running 2to3 and even custom fixers before running the tests, or even builds and installs. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 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>
-
由 Cleber Rosa 提交于
When running this functional test with the standard unittest discovery/runner it produces output that conflicts with the runner output. It looks like this output is not necessary for the test itself, and not that helpful for debugging purposes, so, let's just silence it. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-