CTest: Behavior of stdin for tests
When ctest
runs tests, the subprocesses inherit stdin from ctest
. This should be clarified in the documentation.
We could also consider adding options to define other behaviors. Currently if a test inadvertently performs a blocking read from stdin, it will hang until someone gives it input, unless ctest itself was invoked as ctest </dev/null
or similar.