1. 01 Jul, 2011 6 commits
    • Victor Stinner's avatar
      Issue #12363: increase the timeout of siginterrupt() tests · 2ba51b66
      Victor Stinner authored
      Move also the "ready" trigger after the installation of the signal handler and
      the call to siginterrupt().
      
      Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough,
      but some of our buildbots are really slow (especially the FreeBSD 6 VM).
      2ba51b66
    • Victor Stinner's avatar
      Issue #12363: improve siginterrupt() tests · 9a92a86d
      Victor Stinner authored
      Backport commits 968b9ff9a059 and aff0a7b0cb12 from the default branch to 3.2
      branch. Extract of the changelog messages:
      
      "The previous tests used time.sleep() to synchronize two processes. If the host
      was too slow, the test could fail.
      
      The new tests only use one process, but they use a subprocess to:
      
      - have only one thread
      - have a timeout on the blocking read (select cannot be used in the test,
      select always fail with EINTR, the kernel doesn't restart it)
      - not touch signal handling of the parent process"
      
      and
      
      "Add a basic synchronization code between the child and the parent processes:
      the child writes "ready" to stdout."
      
      I replaced .communicate(timeout=3.0) by an explicit waiting loop using
      Popen.poll().
      9a92a86d
    • Victor Stinner's avatar
      Issue #11870: Skip test_threading.test_2_join_in_forked_process() on platforms · e65ac0f5
      Victor Stinner authored
      with known OS bugs
      
      Share the list of platforms with known OS bugs with other tests. Patch written
      by Charles-François Natali.
      e65ac0f5
    • Victor Stinner's avatar
      test_os: remove now useless TemporaryFileTests testcase · 5ca1ee38
      Victor Stinner authored
      TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions
      removed from Python 3.
      
      Move fdopen() tests to the FileTests testcase to test fdopen() on a file
      descriptor, not on a directory descriptor (which raises an error on Windows).
      5ca1ee38
    • Victor Stinner's avatar
      libpython.py (gdb) now catchs IOError in py-list and py-bt commands · 7bb1d8b8
      Victor Stinner authored
      py-list displays the error. py-bt ignores the error (the filename and line
      number is already displayed).
      7bb1d8b8
    • Victor Stinner's avatar
      test_os: add TemporaryFileTests to the testcase list · 72af79f8
      Victor Stinner authored
      The testcase was never executed, it's now fixed.
      72af79f8
  2. 30 Jun, 2011 6 commits
  3. 29 Jun, 2011 15 commits
  4. 28 Jun, 2011 3 commits
  5. 27 Jun, 2011 8 commits
  6. 26 Jun, 2011 2 commits