cURL / Mailing Lists / curl-library / Single Mail

curl-library

Running the test suite in a self-cleaning Windows process job group

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Sun, 27 Mar 2016 00:16:57 +0100

Hello everyone,

I wrote a small utility program called group-job [1] to run the test suite in a Windows process job group that automatically causes all processes to be killed if the main process ends or dies.

Example usage within a Windows continuous integration environment:

group-job.exe C:\MinGW\msys\1.0\bin\sh.exe -l -i -c ^"\^"./tests/testcurl.pl\^“ …^"

If group-job.exe or sh.exe ends or dies, zombie processes spawned from them are killed automatically.

I figured this might be of use or interest for other people running Windows builds or tests.

Best regards,
Marc

 [1] https://github.com/mback2k/group-job <https://github.com/mback2k/group-job>

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-27