1. 20 4月, 2017 1 次提交
    • C
      data_dir: use a directory intended for writable content · 61469051
      Cleber Rosa 提交于
      Avocado's "data_dir" has always been meant for readable **and** writable
      content.
      
      Right now, this is broken because the system wide default for
      "base_dir" (data_dir's parent) is set to /usr/share/avocado, and
      consequently, "data_dir" is set to /usr/share/avocado/data.
      
      Let's use "/var/lib/avocado" for the "base_dir", and
      "/var/lib/avocado/data" for the "data_dir".  Content intended to be
      read-only, such as example tests and wrappers, are still set to
      /usr/share/avocado.
      
      This has been tested with Avocado-VT, making the result of system
      wide content, such as test providers and downloadable files be
      put under "/var/lib/avocado/data/avocado-vt".
      
      Reference: https://trello.com/c/KU1DvSAzSigned-off-by: NCleber Rosa <crosa@redhat.com>
      61469051
  2. 19 4月, 2017 3 次提交
  3. 18 4月, 2017 3 次提交
  4. 13 4月, 2017 6 次提交
  5. 12 4月, 2017 3 次提交
    • L
      mux: Improve the variant_id · dd1919d4
      Lukáš Doktor 提交于
      Use the combination of path-ordered leaves names and a hash of combined
      fingerprint as variant_id. This should improve human-readability of the
      results and also it should produce machine-friendly unique names, which
      change when values in variant are modified.
      
      Because the leaves names are ordered by path, the order of yaml file
      does not affect the variant_id. On the other hand any modified/added
      value changes the fingerprint and therefor variant_id.
      
      Important feature is also that the variant still contains the
      default_params, but the variant-id is not affected by it.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      dd1919d4
    • L
      tree: Increase readability of TreeEnvironment · 134e1144
      Lukáš Doktor 提交于
      The TreeEnvironment uses default-dict representation, which uses
      __repr__ on items. This is not really human friendly and more
      importantly it contains dynamic data (object id) which changes per
      execution and we are using environment in fingerprint, which does not
      really work well for TreeNodeDebug. This patch replaces the __repr__
      with __str__ which improves the readability and avoids the dynamic data.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      134e1144
    • L
      tree: Add support "fingerprint" method · 3262c280
      Lukáš Doktor 提交于
      The TreeNode.fingerprint() generates string, which represents the value
      of the node. The idea is to represent the content of the node and it's
      environment and such for the purpose of evaluating, whether other node
      is alike.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      3262c280
  6. 10 4月, 2017 4 次提交
  7. 08 4月, 2017 1 次提交
  8. 07 4月, 2017 6 次提交
  9. 06 4月, 2017 1 次提交
  10. 04 4月, 2017 6 次提交
  11. 03 4月, 2017 6 次提交