- 04 8月, 2018 6 次提交
-
-
由 Cleber Rosa 提交于
Which will return the first member of the archive, either a file or directory. If the archive is empty, it'll return None. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Currently we compare the full TreeNodeEnvironment object to make sure they come from the same origin, which only works for connected tree. But Avocado supports (and uses in json-load) passing leaves of unconnected trees, but then the TreeNodeEnvironments are not matching. Let's rely only on "TreeNodeEnvironment.path" and declare these matching environments, no matter what values are stored (see selftest for details) Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
On python3 we can get "TypeError: can't pickle zipimport.zipimporter objects" error when trying to "copy.deepcopy" the arguments and I haven't found any real need for it on "initialize" call (plugins are not overriding arguments, or they copy it themselves). Let's avoid this by not copying args. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: avocado.utils.network: introduce default port values for find_free_port()
-
由 Cleber Rosa 提交于
On many situations, users just need a port, there's no need to pick from a defined range. Let's introduce defaults, so it can be used without any arguments for that use case. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 03 8月, 2018 1 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: ISO9660: add a pycdlib backend
-
- 02 8月, 2018 2 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Fabiano Rosas 提交于
commit "c5d62099 Makefile: add requirements-plugins target" forgot an 's' in 'requirements' Signed-off-by: NFabiano Rosas <farosas@linux.ibm.com>
-
- 01 8月, 2018 1 次提交
-
-
由 Cleber Rosa 提交于
This implements another backend for the avocado.utils.iso9660 library, based on the pure Python pycdlib. The library, as it's the case with all other ISO9660 utilities, is optional and should only attempted to be be used if they are available in the system. In theory, we're well equipped with backends, but this brings the interesting possibility of running on non-UNIX platforms. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 31 7月, 2018 3 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 27 7月, 2018 1 次提交
-
-
由 Lukáš Doktor 提交于
Difference between aarch32/64 is fairly simple, let's detect it ourselves instead of relying on "machine.platform". Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 26 7月, 2018 5 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: CIT Varianter: add RPM packages
-
由 Cleber Rosa 提交于
Add RPM packaging for the CIT varianter plugin. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Makefile: Make sure to use pip of the same version as python
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Some systems don't ship with "pip" binary and only provide the "pip3". Instead of attempting to get the right one, let's just use "python -m pip" that should work the same way plus we always use the right version (py2/py3). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 25 7月, 2018 5 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: CIT Varianter
-
由 Lukáš Doktor 提交于
Avoid IndexError in case of empty archive. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Recently the archive library started returning first file name, let's adjust our selftests to make sure it works. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Remove requirements file for readthedocs.org Makefile: move generic enough targets to Makefile.include Makefile: add RPM_BASE_NAME variable Makefile: add PYTHON_MODULE_NAME variable Makefile: add ARCHIVE_BASE_NAME variable Makefile: add all configuration variables to "variables" target Makefile: change the rule to make sure pip is available
-
由 Cleber Rosa 提交于
Implementation of the CIT varianter optional plugin. Signed-off-by: NAmador Pahim <amador@apahim.org> Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 24 7月, 2018 10 次提交
-
-
由 Cleber Rosa 提交于
During the last release (63.0), readthedocs.org builds were failing, complaining about the non existence of "requirements-docs.txt". After escalating the problem, I decided to remove that option from the configuration system. The result was a successful build. I can only assume that readthedocs.org have everything we need. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This will allow us to reuse the `Makefile.include` on other projects, such as Avocado-VT. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
To make the targets related to building RPMs configurable and reusable. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
To make the rules that deal with Python modules configurable and redistributable. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Which is intended to told the base name of the archives generated by rules such as "source". The idea behind making them configurable is that the rules can then be put in files to be included here, and kept in better sync across Avocado projects. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
And make sure they are in order to ease the comparison of possible with new variables. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Since Python 2.7.9, it's possible to use the "ensurepip" module to check and bootstrap pip at the same time. Then, only if that is not available, we'd try the old bootstrap recipe. Reference: https://docs.python.org/2/library/ensurepip.htmlSigned-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Merlin Mathesius 提交于
package dependencies are available. Signed-off-by: NMerlin Mathesius <mmathesi@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 21 7月, 2018 4 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
`examples/tests/simplewarning.sh` calls a generic avocado command, which gets added to the path by the test code. That generic avocado command is `scripts/avocado`, from the source repository, which contains the unversioned `/usr/bin/env python`. Under some environments, such as Fedora >= 29, there may be no unversioned Python binary. Let's respect the UNITTEST_AVOCADO_CMD environment variable, and add the the directory containting that binary to the PATH. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Raising StopIteration gets translated to a RuntimeError in Python 3.7. The same behavior can be achieved by 'return' from generators. Reference: https://github.com/avocado-framework/avocado/issues/2721Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 20 7月, 2018 2 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <amador@pahim.org>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Travis-CI: add jobs for nightly versions of CPython Travis-CI: add Python 3.5 and 3.6 jobs Travis-CI: remove "system_site_packages" option
-