1. 15 8月, 2017 2 次提交
  2. 23 5月, 2017 1 次提交
  3. 17 5月, 2017 2 次提交
  4. 15 5月, 2017 1 次提交
    • C
      selftests: introduce multiple levels of testing coverage · 4942d2e7
      Cleber Rosa 提交于
      A finer level of granularity may help to extend our testing coverage
      while reducing the amount of false positives.  This introduces the
      three different levels, mapped like this:
      
         * level 0, AKA "make check"
         * level 2, AKA "make check-full"
      
      There are no changes of test assignment, that is, tests previously
      being run under "check-full" will continue to be run only at that
      target.  The same is true for tests that would run under "make check"
      before this.
      
      The big change is that there's now a middle ground, that can be
      activated by manually setting the AVOCADO_CHECK_LEVEL variable.  Level
      1 is intended to be used be used on environments that are halfway
      between a dedicated machine and a really low powered environment.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      4942d2e7
  5. 13 4月, 2017 1 次提交
  6. 10 4月, 2017 1 次提交
  7. 03 4月, 2017 2 次提交
  8. 09 3月, 2017 1 次提交
    • C
      RPM package rename: from avocado to python-avocado · 66d5208b
      Cleber Rosa 提交于
      This is a step towards reducing the delta between Avocado "upstream"
      packages, that is, the packages offered in our own custom repo, and
      packages provided by "dowsntream" distros such as Fedora and (EP)EL.
      
      The package rename is probably the change that could affect users
      the most, so let's try to do this early (sprint-wise).  The proper
      "Provides" and "Obsoletes" tags should, though, make the update
      seamless.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      66d5208b
  9. 11 2月, 2017 2 次提交
    • C
      Remote/VM/Docker: make them optional plugins · 9ad1eadd
      Cleber Rosa 提交于
      Our users have pointed out that the basic Avocado test runner, and its
      related packaged form, has too many dependencies.  They're absolutely
      right, and the whole goal of having plugins in Avocado is that
      dependencies can be made optional according to the features required
      by a given user.
      
      This specific change creates three new optional plugins, containing
      the extended test runners: remote, vm and docker.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      9ad1eadd
    • L
      Makefile: Don't fail when "make unlink" fails · 6d3270e4
      Lukáš Doktor 提交于
      We already tweaked the "make link" to not fail when "make link" fails
      but I forgot about unlink, which is now failing. Let's allow the "make
      link" failure as there might be non-related modules not implementing the
      "make unlink" functionality.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      6d3270e4
  10. 01 2月, 2017 1 次提交
    • L
      Makefile: Don't fail when "make link" fails · a9ae3485
      Lukáš Doktor 提交于
      The "make link" feature goes through subdirs trying to either use
      `setup.py` or `Makefile` to install all plugins. The problem is that
      even when `Makefile` is present it might not support `make link` target
      which results in failure. This patch instead of failure in this case
      just lists "FAIL" followed by the module name.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      a9ae3485
  11. 12 1月, 2017 1 次提交
    • C
      Makefile: adjust PyPI packaging/upload · d85d2c9a
      Cleber Rosa 提交于
      Since we favor the creation of a tarball with "git archive", PyPI gets
      sensitive every now and then with our uploads.  Since the 42.0
      release, pushing the new packages to PyPI would result in Server
      Errors.
      
      This adds the PKG-INFO to the tarball that will be uploaded, which
      seems to fix the current errors.  Also, since it's now a single file,
      it can be pushed with the "twine" command line application.
      
      Alternatively, we could double check our file manifest, and rely
      entirely on setuptools to generate the tarball.  But, I'm not a big
      fan of adding files to version control, and then to a manifest of any
      sort.
      
      Note: in the past, this was also necessary because of the tweaks to
      the information inside the PKG-INFO file, namely the package name
      (avocado -> avocado-framework).
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      d85d2c9a
  12. 28 11月, 2016 1 次提交
  13. 24 11月, 2016 1 次提交
  14. 27 9月, 2016 2 次提交
  15. 26 9月, 2016 1 次提交
  16. 19 9月, 2016 1 次提交
  17. 09 9月, 2016 1 次提交
    • C
      PyPI: define more consistent package name · 760d82c9
      Cleber Rosa 提交于
      We have been using "avocado" as the name of our package, as seen by
      core Python tools such as pkg_resources and repositories uch as
      pypi.python.org.  The fact is that, even though our libraries modules
      live under the "avocado" namespace, there's no need to forge the
      package name.
      
      With this change, external packages can declare "avocado-framework"
      as a requirement.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      760d82c9
  18. 07 9月, 2016 2 次提交
  19. 06 9月, 2016 2 次提交
    • C
      Makefile: add support for setup.py in targets link/clean · 2d5158d3
      Cleber Rosa 提交于
      The `link` and `clean` targets, very useful under development
      environments, have supported directories containing `Makefiles`.
      
      It turns out that for some plugins it may be enough (and more
      Pythonic) to just have `setup.py` files, so let's support that.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      2d5158d3
    • C
      Plugins: add optional plugins directory · 2e732e92
      Cleber Rosa 提交于
      The goal of the `optional_plugins` directory is to hold all plugins
      that ship with Avocado, but are not considered core functionality.
      Plugins that are considered to be core still live under
      `avocado/plugins`.
      
      This also adds all directories to be found under `optional_plugins` to
      the list of candidate plugins when running `make clean` or `make
      link`.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      2e732e92
  20. 01 9月, 2016 6 次提交
  21. 16 8月, 2016 1 次提交
  22. 12 8月, 2016 1 次提交
  23. 13 7月, 2016 1 次提交
  24. 15 6月, 2016 1 次提交
  25. 24 5月, 2016 1 次提交
  26. 16 5月, 2016 1 次提交
  27. 26 4月, 2016 1 次提交
    • C
      Travis: improve cleanup of per-commit environment · a21f1bc7
      Cleber Rosa 提交于
      When running the per-commit checks on CI, the previous environment is
      not as clean as it should be.
      
      One example is when a given work introduces a new plugin. First the
      HEAD of the branch is tested, which includes the installation of the
      new plugin.  Then, the per-commit checks would return to the first
      commit in the branch, which doesn't contain the plugin, but the
      environment still knows about it.  This is a matter of forcing the
      clean up of setuptools entrypoints (or any setuptools generated info
      for that matter).
      
      While adding the deeper cleaning, it seemed useful to split the
      Makefile "link" target into "develop", which runs "python setup.py
      develop" on the Avocado source tree alone.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      a21f1bc7
  28. 01 3月, 2016 1 次提交