[ovs-dev] [PATCH 00/16] Fix and enable Python tests on Windows

Paul Boca pboca at cloudbasesolutions.com
Fri Jun 17 16:06:38 UTC 2016


This series of patches ports the python damons to Windows and
fixes the tests to work on Windows.
There are still some python tests that fail on Windows, from which
some are failing on Linux too.
The patches in this series are dependent and are related to
python tests on Windows.

Paul-Daniel Boca (16):
  tests: Fixed PMD tests on Windows
  windows: Added lockf function and lock PID file
  python tests: Implemented signal.alarm for Windows
  python tests: Register signal handlers only on supported types on
    Windows
  python tests: Fixed ctl file name for Windows
  python tests: Fixed unixctl python tests for Windows
  python tests: Added fcntl module for Windows
  python tests: Skip IPsec test on Windows
  python tests: Don't check if the PID file gets deleted
  python tests: Skip TCP6 idl tests on Windows
  python tests: Skip python tests on Windows where POSIX pid is used
  python tests: Fixed OSError not iterable on Windows
  python tests: Fixed abs_file_name function for Windows
  python tests: Ported UNIX sockets to Windows
  python tests: Ported Python daemon to Windows
  python tests: Enable Python tests

 lib/daemon-windows.c           |  44 +++++++++
 python/automake.mk             |   1 +
 python/ovs/daemon.py           | 216 +++++++++++++++++++++++++++++++++--------
 python/ovs/fatal_signal.py     |  15 ++-
 python/ovs/fcntl_win.py        |  36 +++++++
 python/ovs/jsonrpc.py          |   3 +
 python/ovs/poller.py           |   5 +
 python/ovs/socket_util.py      |  48 +++++++--
 python/ovs/stream.py           |   6 +-
 python/ovs/unixctl/__init__.py |  10 +-
 python/ovs/unixctl/server.py   |  15 ++-
 python/ovs/util.py             |   2 +-
 tests/appctl.py                |  26 ++++-
 tests/atlocal.in               |   7 --
 tests/daemon-py.at             |  15 ++-
 tests/jsonrpc-py.at            |   3 +
 tests/ovs-monitor-ipsec.at     |   1 +
 tests/ovsdb-idl.at             |   1 +
 tests/pmd.at                   |   4 +-
 tests/test-daemon.py           |   4 +-
 tests/test-ovsdb.py            |  26 ++++-
 tests/test-unix-socket.py      |  26 ++++-
 tests/unixctl-py.at            |  12 ++-
 23 files changed, 446 insertions(+), 80 deletions(-)
 create mode 100644 python/ovs/fcntl_win.py

-- 
2.7.2.windows.1



More information about the dev mailing list