1. 29 4月, 2015 1 次提交
  2. 28 4月, 2015 2 次提交
  3. 24 4月, 2015 4 次提交
  4. 23 4月, 2015 1 次提交
  5. 22 4月, 2015 8 次提交
  6. 21 4月, 2015 3 次提交
  7. 20 4月, 2015 4 次提交
  8. 17 4月, 2015 4 次提交
  9. 16 4月, 2015 10 次提交
  10. 15 4月, 2015 3 次提交
    • L
      Merge pull request #548 from ldoktor/genio.2 · f51d808f
      Lucas Meneghel Rodrigues 提交于
       avocado: Exception handling bugfixes [v2]
      f51d808f
    • L
      avocado.loader: Fortify test discovery against stdin/out/err corruption · 0783738a
      Lukáš Doktor 提交于
      There are python traps (they can't be called scripts) which on import
      modify stdin/out/err. This even on discovery makes avocado behave very
      badly and it's hard to discover what and when it happened. This patch
      provides dummy stdin/out/err when discovering the tests.
      
      This solution only takes care of stdin/out/err related issues, safer
      method would be to spawn another process and gather the info there.
      Still we can't avoid modifying the OS during the discovery, but that's
      IMO acceptable for a test-framework.
      
      The examples/tests/failtest_ugly.py is used in basic_tests unittest
      using "avocado list" (without this patch it waits for input, than it
      prints the test's outputs and exits without listing the tests).
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      0783738a
    • L
      avocado.loader: Avoid uncaught exceptions while discovering jobs · 59aa3327
      Lukáš Doktor 提交于
      Some very ugly modules use sys.exit() on imports. These are not catched
      by Exception thus BaseException is required.
      
      I did not omit KeyboardInterrupt as users get mad when ctrl+c doesn't
      work. On the other hand nasty python code raising KeyboardInterrupt on
      import can interrupt test-discovery (avocado list nasty.py => Interrupted
      by user)
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      59aa3327