1. 18 3月, 2015 12 次提交
  2. 17 3月, 2015 1 次提交
  3. 13 3月, 2015 3 次提交
    • C
      Release test plan: more tests, more precise descriptions and optimal test flow · f50e7625
      Cleber Rosa 提交于
      This adds more tests to the release test plan, adds more precise descriptions
      of the test and expected results.
      
      Also, the test plan follows a sequence of steps that is more concise and eases
      the manual testing process.
      
      Changes from v2:
      * Added Remote Machine HTML links test
      
      Changes from v1:
      * Added HTML sysinfo test
      * Added HTML external links test
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      f50e7625
    • L
      Merge pull request #481 from clebergnu/utils_io_rename · c01ee589
      Lucas Meneghel Rodrigues 提交于
      avocado/utils/io.py: rename to genio.py (meaning generic I/O)
      c01ee589
    • C
      avocado/utils/io.py: rename to genio.py (meaning generic I/O) · 3fa9077f
      Cleber Rosa 提交于
      The reason for this rename is that there's a name clash with Python's
      standard library `io` module. This name clash manifest while performing
      a simple Python validation of the avocado/utils/archive.py module:
      
      $ python avocado/utils/archive.py
      Traceback (most recent call last):
        File "archive.py", line 22, in <module>
          import zipfile
        File "/usr/lib64/python2.7/zipfile.py", line 501, in <module>
          class ZipExtFile(io.BufferedIOBase):
      AttributeError: 'module' object has no attribute 'BufferedIOBase'
      
      The explanation to that error is that Python itself adds the base
      directory where the "executed" module file lives to the head of
      the module search path list.
      
      After some dicussion we realized that we should strive to not
      name modules with the same names as Python's standard ones.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      3fa9077f
  4. 12 3月, 2015 1 次提交
  5. 11 3月, 2015 11 次提交
  6. 10 3月, 2015 3 次提交
  7. 09 3月, 2015 1 次提交
  8. 07 3月, 2015 2 次提交
  9. 06 3月, 2015 4 次提交
    • C
      Remote test support: add check for tests before trying to run them · 674667d7
      Cleber Rosa 提交于
      Adding this extra check will give more precise error messages to the user in
      case the given tests do not exist on the remote system. This is basically a
      safeguard against a user using `--remote-no-copy` and asking to run tests
      that do not exist on the remote system.
      
      When not using `--remote-no-copy` the tests will be copied and this check
      should always succeed. But, because of timing issues, concurrent access to
      the remote system, and so many other issues could result in tests being
      removed, I believe the user can still benefit from this (lighweight) check.
      
      Changes from v1:
       * return the original `avocado list` error message, which is more detailed
         and includes the missing files, instead of a general error message.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      674667d7
    • C
      Makefile: implement `link` target · 8f650bd9
      Cleber Rosa 提交于
      That will link avocado-virt modules and plugins if they happen to
      live in the same directory as avocado (toplevel directory) does.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      8f650bd9
    • C
      Remote test support: improve the checks regarding avocado installation · 60ff3eba
      Cleber Rosa 提交于
      By performing a simpler check before actually trying to run avocado (and tests)
      on the remote system, we can be more precise about avocado not being installed.
      
      Also the check adds some output check, that should minimize false positives if
      for some reason another `avocado` executable exists in the remote system $PATH.
      
      This also paves the way for checking specific avocado versions (the regex used
      already breaks down the version numbers).
      
      Changes from v1:
       * Also return the version number if avocado is found to be installed on the
         remote system
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      60ff3eba
    • C
      avocado/job.py: disable local test file checks when running on remote machines · b45365fd
      Cleber Rosa 提交于
      When using `--remote-no-copy` the test files will neither be copied from the
      current system nor executed on it, so disable all sorts of checks.
      
      This is a fix for the local check only. A more complicated issue is to perform
      similar checks on the RemoteTestRunner and report possible failures in a clean
      way.
      
      This address the github issue #417.
      
      Changes from v1:
      * Use a simpler Python idiom (getattr with default instead of hasattr and
        extra check). Spotted by Rudá Moura.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      b45365fd
  10. 05 3月, 2015 2 次提交