1. 12 2月, 2019 4 次提交
    • L
      settings: Change the way config files are processed · ae437e42
      Lukáš Doktor 提交于
      Originally we only processed files that existed and when they were read
      we updated list of config locations and in case of no return list of
      failed-to-read paths. Anyway the "config.read" function accepts list of
      config files and returns list of successfully parsed files. Missing
      files are automatically skipped and broken files raise exception, so
      let's just simply create list of to-be-read files and feed it into the
      "config.read" function.
      
      As a result the list of not-read files actually works, still in this
      version it's only displayed on "avocado config", where users can get
      notion of all possible locations and in "avocado run" only parsed files
      are displayed as it doesn't seem important enough to log them there to
      me.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      ae437e42
    • L
      settings: Improve docstring · c184d3b0
      Lukáš Doktor 提交于
      This docstring is a bit cryptic, let's makes it 100% clear it's only
      used by unittests and the "--config" argument uses different approach.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      c184d3b0
    • L
      settings: Use pkg_resources to get pkg/intree configs · d4a028aa
      Lukáš Doktor 提交于
      When the intree config exists, it's the same resource as pkg config.
      Let's only process the pkg config and use pkg_resources properly to list
      the directory with extra config files.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      d4a028aa
    • L
      settings: Change the way in-tree is evaluated · 7bf988fb
      Lukáš Doktor 提交于
      Currently in-tree is evaluated based on presence of config files, but in
      reallity the "settings.intree" used to get tests path. Let's use it to
      check for in-tree detection, which should better correspond to how this
      value is being used.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      7bf988fb
  2. 07 2月, 2019 6 次提交
  3. 06 2月, 2019 3 次提交
  4. 05 2月, 2019 6 次提交
  5. 04 2月, 2019 1 次提交
  6. 01 2月, 2019 6 次提交
  7. 31 1月, 2019 8 次提交
  8. 30 1月, 2019 6 次提交