tests: Enable running parallel unit tests for Windows.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 11 Feb 2015 16:04:34 +0000 (08:04 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 13 Feb 2015 18:41:43 +0000 (10:41 -0800)
commitddd347c2b4091bb5f7479db452d0a6418897a258
tree5e4682cd851cf8a75b1a63401ec1578adfcea5c4
parentd8a5cedab523a99cdc97539f0cde21bb7f4932ec
tests: Enable running parallel unit tests for Windows.

testsuite uses mkfifo in its job dispatcher that manages
parallel unit tests. MinGW does not have a mkfifo. This
results in unit tests running serially on Windows. Right
now it takes up to approximately 40 minutes to run all the
unit tests on Windows.

This commit provides a job dispatcher for MinGW that uses
temporary files instead of mkfifo to manage parallel jobs.
With this commit, on a Windows machine with 4 cores and with
8 parallel unit test sessions, it takes approximately 8
minutes to finish a unit test run.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Acked-by: Ben Pfaff <blp@nicira.com>
INSTALL.md
tests/automake.mk
tests/testsuite.patch [new file with mode: 0644]