1. 06 2月, 2018 1 次提交
  2. 04 2月, 2018 2 次提交
  3. 03 2月, 2018 1 次提交
  4. 01 2月, 2018 1 次提交
    • C
      Python 3: provide a predictive FilterSet.__repr__() implementation · f594df04
      Cleber Rosa 提交于
      There's a difference on how Python 2 and 3 represents a set(), which is true
      for the set derived FilterSet.  It just happens the a tree fingerprint
      depends on its environment, which depends on the FilterSet representation.
      
      Let's provide a predictive __repr__ implementation, and consequently, a
      predictive fingerprint for Trees across Python versions.
      
      This fixes the following unittest failure on Python 3:
      
         FAIL: test_fingerprint (selftests.unit.test_tree.TreeNode)
         ----------------------------------------------------------------------
         Traceback (most recent call last):
           File "/home/cleber/src/avocado/avocado/selftests/unit/test_tree.py", line 63, in test_fingerprint
             "/foo{},{},FilterSet([]),FilterSet([])")
         AssertionError: '/foo{},{},FilterSet(),FilterSet()' != '/foo{},{},FilterSet([]),FilterSet([])'
         - /foo{},{},FilterSet(),FilterSet()
         + /foo{},{},FilterSet([]),FilterSet([])
         ?                     ++            ++
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      f594df04
  5. 29 1月, 2018 1 次提交
  6. 25 1月, 2018 4 次提交
  7. 24 1月, 2018 4 次提交
  8. 23 1月, 2018 9 次提交
  9. 22 1月, 2018 4 次提交
  10. 20 1月, 2018 2 次提交
  11. 19 1月, 2018 7 次提交
  12. 18 1月, 2018 1 次提交
  13. 17 1月, 2018 1 次提交
    • W
      utils.cpu: Update cpu info pattern for aarch64 · f1030aed
      Wayne Sun 提交于
      arm64 or aarch64 pattern is not easy to identify in the
      cpuinfo. For v7 there is model name in the cpuinfo and it
      could be regonize as arm for 32 bit. But in v8 only could
      found 'CPU architecture' in the cpuinfo and current code
      will fail to match and return i386 which is wrong.
      
      For fix this, if 'CPU architecture' found in cpuinfo, use
      platform.machine to return the arch name.
      Signed-off-by: NWayne Sun <gsun@redhat.com>
      f1030aed
  14. 16 1月, 2018 2 次提交
    • L
      Merging pull request 2407 · d0de762f
      Lukáš Doktor 提交于
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      
      * https://github.com/avocado-framework/avocado:
        Packaging: add bash RPM sub package
        Packaging: remove man page sources from binary RPM packages
        Packaging: remove examples from Python side of installation
        Packaging: remove unused function _get_resource_files()
        Settings: remove variables from the main module namespace
        Packaging: exclude optional_plugins tests in addition to selftests
        Packaging: add missing configuration files for RPM packages
        Packaging: make config files data files of the avocado module
      d0de762f
    • C
      Packaging: add bash RPM sub package · 1b41f7fa
      Cleber Rosa 提交于
      To remove some of the bloat (even if little) of the base
      python-avocado package, let's move content that is not useful to
      Python developers out of the way.
      
      This should also make the experience of content more similar across
      users of the Python module (say, from a `pip install`) and users of
      the python-avocado package.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      1b41f7fa