- 20 3月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 19 3月, 2015 6 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Makefile: have a better target/recipe with deps for man pages
-
由 Cleber Rosa 提交于
The `man` target is not currently using make's dependency system, let's fix that. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Rudá Moura 提交于
Print Job ID in job log
-
由 Lucas Meneghel Rodrigues 提交于
The job ID is an important information that should've been printed to our job log. This patch fixes it and also adds a functional verification test. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
It is more natural [1] that output of --show-job-log goes to stdout than stderr. Let's change that behavior and update unittests accordingly. [1] Natural in this sense is defined by the user's expectation - when setting avocado to --show-job-log, you expect that the job log *is* in the application's stdout. Changes from v1: * Python 2.6 constructor param for StreamHandler is strm, that was changed in 2.7 to be stream. Let's keep compatibility by using positional arguments. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 18 3月, 2015 16 次提交
-
-
由 Cleber Rosa 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Turns out that depending on guest config options, sometimes the paginator kicks in and won't release the stdout until a human comes in and presses 'q'. This is very, very bad for automated procedures such as the one used by the remote plugin. So add --disable-paginator in both plugins that use that functionality, so they can be used in automated scripts. Afterwards, we'll use that option in the remote plugin. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Cleber Rosa 提交于
-
由 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>
-
由 Lucas Meneghel Rodrigues 提交于
Add a new python 2.6 target so that we can make sure avocado works on older distros (our specific focus here is RHEL 6, but of course, we expect the work on RHEL 6 to be useful to other distros sticking with older versions of the python runtime). In order to do that, we added a new 2.6 related requirements file, and changed the requirements a bit so that it all works under the particular Travis CI environment. Changes from v1: * Per ldoktor's suggestion, use conditional install of backports using $TRAVIS_PYTHON_VERSION Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Python 2.6's os.path.relpath function returns some funny results, such as: In [3]: os.path.relpath('/tmp', '/') Out[3]: '../tmp' So let's skip relpath entirely. Changes from v1: * Per ldoktor's suggestion use lstrip('/') instead of relpath workarounds. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
We can't install libvirt-python using pip since the VM used by Travis runs Ubuntu 12.04 LTS (libvirt headers are too old), so we have to settle for not requiring all plugins (VM) to be available. It will still be tested on 2.7, though. Changes from v1: * Per ldoktor's suggestion, change check of exact python version being 2.7.x to python version >= 2.7.0. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
This one uses --vm, which is redundant and also uses the vm functionality, one thing we still can't do in Travis. 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>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Instead of adding version at the class init time, add it as one of the program's arguments. This will get rid of a deprecation message while executing on python 2.6. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
EPEL ships with pystache 0.3.5, that has different API. Let's make a resonable effort that the report works there as well. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Use the logutils backport, available on pip and EPEL, that allows us to keep using the dict logging config method in python 2.6. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Dict comprehensions using curly braces is a new feature, introduced in python 2.7. Let's use equivalent 2.6 friendly constructs (list comprehension and generating a list of tuples with the dict() builtin). Changes from v1: * Per ldoktor's suggestion, use list comprehensions and dict() instead of the more straight forward (and possibly slower) for loop. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lukáš Doktor 提交于
avocado.multiplexer: Remove unnecessary pylint ignore
-
- 17 3月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
It turns out that ignore not being there still makes the pylint check to pass on both python 2.6 and 2.7. The reason why this commit is necessary is that the ignore type is unknown in pylint 1.4, causing the 2.7 related CI job to fail. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 13 3月, 2015 4 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Release test plan: more tests, more precise descriptions and optimal test flow [v3]
-
由 Cleber Rosa 提交于
This adds more tests to the release test plan, adds more precise descriptions of the test and expected results. Also, the test plan follows a sequence of steps that is more concise and eases the manual testing process. Changes from v2: * Added Remote Machine HTML links test Changes from v1: * Added HTML sysinfo test * Added HTML external links test Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado/utils/io.py: rename to genio.py (meaning generic I/O)
-
由 Cleber Rosa 提交于
The reason for this rename is that there's a name clash with Python's standard library `io` module. This name clash manifest while performing a simple Python validation of the avocado/utils/archive.py module: $ python avocado/utils/archive.py Traceback (most recent call last): File "archive.py", line 22, in <module> import zipfile File "/usr/lib64/python2.7/zipfile.py", line 501, in <module> class ZipExtFile(io.BufferedIOBase): AttributeError: 'module' object has no attribute 'BufferedIOBase' The explanation to that error is that Python itself adds the base directory where the "executed" module file lives to the head of the module search path list. After some dicussion we realized that we should strive to not name modules with the same names as Python's standard ones. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 12 3月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
loader: Ignore imported classes.
-
- 11 3月, 2015 11 次提交
-
-
由 Rudá Moura 提交于
pyliblzma: make it optional since it is not essential [v2]
-
由 Cleber Rosa 提交于
The line above says enough, but let me stress the point that we want Avocado to be portable enough to run on various and possibly limited systems. Embedded systems and lightweight VMs/containers are a very compeling target for avocado, so IMHO we should strive to make the avocado core runnable with as little as a standard Python installation. Changes from v1: * Renamed LZMA_SUPPORTED to LZMA_CAPABLE * There's no need to make _WrapLZMA class definition conditional Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Marius Vollmer 提交于
This allows people to derive indirectly from test.Test and still import the direct base class like this: from base import MyBaseTest class MyInheritedTest(MyBaseTest): ... Without this change, the loader might pick `MyBaseTest` as the class to test instead of `MyInheritedTest`. Signed-off-by: NMarius Vollmer <mvollmer@redhat.com> Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Regression and cosmetics
-
由 Rudá Moura 提交于
Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Fix regression when the number of lines from the output was reduced, so we're now assuming 13 lines, instead of 14. Fix issue #472. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Jobless mode
-
由 Rudá Moura 提交于
Update the command line options, when running tests as standalone tests (aka Jobless mode): * --remote-test-results, -r (previously --keep-logs, -r). * --test-results-dir, -d (new option). Example: ``` $ python examples/tests/passtest.py -h OK usage: passtest.py [-h] [-r] [-d TEST_RESULTS_DIR] optional arguments: -h, --help show this help message and exit -r, --remove-test-results remove all test results files after test execution -d TEST_RESULTS_DIR, --test-results-dir TEST_RESULTS_DIR use an alternative test results directory ``` Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
use an exclusive log handler for sysinfo (avocado.sysinfo), so we can fine control the log output for sysinfo. Filter by 'ERROR' by default. Now the sysinfo will not display any information inside the test log, by a normal execution of the test. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado.plugins.runner: improve -m description [v2]
-
由 Lucas Meneghel Rodrigues 提交于
functional tests: claim back 3 seconds by using passtest instead of slee...
-