summaryrefslogtreecommitdiffstats
path: root/src/subprocess_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Introduce the "console" poolPeter Collingbourne2014-02-031-0/+15
| | | | | | | This is a pre-defined pool with a depth of 1. It has the special property that any task in the pool has direct access to the console. This can be useful for interactive tasks or long-running tasks which produce status updates on the console (such as test suites).
* Exclude Windows as wellDavid Hill2013-07-011-2/+2
|
* ugh, missing #David Hill2013-06-291-1/+1
|
* cleanup based on comments from martineDavid Hill2013-06-291-1/+1
|
* support BitrigDavid Hill2013-06-291-2/+2
|
* Add support for OpenBSD.Matthew Dempsky2013-05-011-2/+2
| | | | | | Use ppoll() on OpenBSD. Also, fix interrupt handling to recognize that on FreeBSD and OpenBSD, an interrupt might have been delivered even if pselect()/ppoll() don't return -1/EINTR.
* wrap some overlong linesEvan Martin2012-12-291-1/+2
|
* correctly open /dev/null in subprocessesEvan Martin2012-12-211-0/+15
| | | | Fixes issue #468.
* Disable SubprocessTest.TestWithLots on OS X.Nico Weber2012-07-281-2/+4
| | | | It fails on OS X, see issue #384.
* subprocess_test: make SetWithLots run on all non-Windows platformsEvan Martin2012-07-171-4/+6
| | | | | I think it might have been an oversight that this was marked Linux-specific.
* Add missing include of <sys/resouce.h>Oleksandr Usov2012-07-161-0/+5
|
* addressed pcc commentsAmi Fischman2012-03-041-2/+10
|
* pselect->ppoll on linux to raise the process limit roofAmi Fischman2012-03-041-1/+21
|
* Implement cleanup-on-interruptPeter Collingbourne2012-02-041-16/+40
| | | | | | | | This causes us to clean up by deleting any output files belonging to currently-running commands before we quit if we are interrupted (either by Ctrl-C or by a command failing). Fixes issue #110.
* Add a test, NoSuchCommand.Qingning Huo2012-01-251-0/+18
|
* Fix for win32 long command lines:U-MATHLETE\John2011-06-261-4/+4
| | | | | | - remove 'cmd /c' prepend from SubProcess::Start() - fix the subprocess tests to prepend 'cmd /c' explicitly
* mingw ninja_test links and passes. (as do linux and native VS2010)Philip Craig2011-05-291-20/+7
| | | | | | Use chsize instead of truncate for mingw compatibility SubprocessTest uses DoWork to force Subprocesses to execute Drop GoodCommandStdOut test as it is tested in SetWithSingle
* windows: pass subprocess testsEvan Martin2011-05-081-28/+51
|
* windows: successfully link testsEvan Martin2011-05-061-5/+5
| | | | | It links, with some hacks. Tests still fail.
* fix tests broken by previous commitEvan Martin2011-05-061-6/+6
|
* refactor subprocess to make it easier for windows portEvan Martin2011-05-031-15/+11
| | | | | | Rather than tracking stdout/stderr explicitly, just keep an opaque pointer to a platform-specific 'stream' type. Also provide API to get at the process output.
* add copyrightsEvan Martin2011-02-061-0/+14
|
* move src into subdirEvan Martin2010-12-051-0/+82