- 23 2月, 2018 1 次提交
-
-
由 Cleber Rosa 提交于
This removes the exception of allowing failures on the Travis CI jobs with Python 3, while, at the same time, temporary restricts Python 3 jobs to run only unittests and the documentation build for the Avocado core. That is, it excludes the functional tests, and the optional plugin's tests. While it may look like a step back, it's actually a step forward in the Python 3 port, because now any regression on the unittests will be caught. And, when the additional fixes are applied to address the functional tests and plugin's tests, the whole set of tests will be enabled for Python 3. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 22 12月, 2017 2 次提交
-
-
由 Cleber Rosa 提交于
Move tests to the plugin's own directory. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Move tests to the plugin's own directory. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 21 12月, 2017 2 次提交
-
-
由 Cleber Rosa 提交于
And drop the notion of a "multiplex capable" Avocado. If the plugin is installed, then we assume the dependencies have been fulfilled. The plugin presence is used then for the creation of the test suite, including the plugin's own tests. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 31 5月, 2017 1 次提交
-
-
由 Lukáš Doktor 提交于
We rely on garbage collector to run __del__s before we check all tmpdirs were cleaned. Let's force-run gc.collect() and (just to be sure) run sync. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 15 5月, 2017 1 次提交
-
-
由 Lukáš Doktor 提交于
We used to use increased verbosity to get name of the test which left tmp dirs behind, but it is not necessary. This commit decreases the verbosity and only logs the error as well as test name in case this failure is detected. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 13 4月, 2017 1 次提交
-
-
由 Lukáš Doktor 提交于
This commit enables the left-behind-temporary-dirs check between each test. As all selftests are executed as a single process the BORG class keeps the TMP dir of the unit-tests. To avoid results spoiled by this fact this commit adds a force-cleanup of the tmp dir tracker overriding the BORG internal state, which is not really nice, but for selftests acceptable. The method to clean it was especially named "unittest_refresh_dir_tracker" to emphasize it should not be used outside of unittest. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 06 2月, 2017 1 次提交
-
-
由 Cleber Rosa 提交于
The unittest standard library on Python 2.7 an later has everything that the unittest2 backport is supposed to have. Let's then drop all the conditional imports of unittest2 and stick with unittest. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 07 11月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
Recent pylint update is more pedantic about module level spacing. There are no changes to code, only couple of extra spaces to make it happy. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 29 9月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
Currently the fail-fast works per section (pylint style, unittests, ...) but this patch enables it also inside the unittests, therefor it finishes with the first failed unittest finishing even quicker than before. Note that this option is incompatible with the parallel check. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 11 9月, 2015 1 次提交
-
-
由 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>
-
- 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>
-
- 18 3月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 18 2月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Clean up imports inside the avocado code tree. This does not bring any functional changes to avocado. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 28 11月, 2014 1 次提交
-
-
由 Rudá Moura 提交于
Remove the license text from files inside docs, examples and selftest, to keep the license text only in relevant parts of the project. References: * https://fedoraproject.org/wiki/Packaging:LicensingGuidelines * https://www.gnu.org/licenses/gpl-howto.htmlSigned-off-by: NRudá Moura <rmoura@redhat.com>
-
- 21 11月, 2014 1 次提交
-
-
由 Lukáš Doktor 提交于
Usually coverage and xunit are unused and only slows down CI. This patch disables it by default. In order to get coverage please run `selftest/coverageall`. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 15 5月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
In order for people to run all avocado tests at once, move and reorganize tests under a directory called selftests. For someone to run all self tests in avocado, one would have to execute: selftests/run selftests/all This is a shortcut for developers. .travis.yml was also updated to run tests based on the new directory structure. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 23 4月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
I went through all python files in avocado code, and some changes were made: * Files entirely written by the current avocado dev team were changed to be GPL v2+ * Files with a significant portion of code derived from autotest remain GPL v2 strict, and original authorship was re-established Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 17 4月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 16 4月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-