qt5base-lts/tests/auto/corelib/io/qprocess
James McDonnell 005a8bfbf0 Remove QPROCESS_USE_SPAWN and all that it surrounds
The spawn code was only used to make QProcess work on QNX 6.5.0.  Fork
works on QNX 6.6.0.  The QNX spawn implementation has a flaw that causes
a deadlock in certain situations.  When a working directory is specified
for the process, the QNX spawn implementation stops all threads except
the one doing the spawn so that it can temporarily change the process'
working directory.  This can lead to a deadlock if the thread does
anything that conficts with something being done in a stopped thread.
QNX 6.5.0 is no longer supported in Qt 5.6.0 so we can just switch QNX
to the fork implementation and get rid of the spawn implementation.

Made a QNX specific adjustment to the hardExit test.  There's a bug
in the OS that the test can run into because it does something that
normal applications wouldn't.

Task-number: QTBUG-47250
Change-Id: Ib32567d2c15ce651815858000035ac5aa6f35224
Reviewed-by: Dan Cape <dcape@qnx.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
2016-03-22 15:20:06 +00:00
..
fileWriterProcess tst_qprocess: Improve handling of helpers. 2015-09-30 04:29:56 +00:00
test Use forkfd in QProcess 2015-01-23 19:13:17 +01:00
testBatFiles Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
testDetached tst_qprocess: Improve handling of helpers. 2015-09-30 04:29:56 +00:00
testExitCodes tst_qprocess: Improve handling of helpers. 2015-09-30 04:29:56 +00:00
testForwarding Update copyright headers 2015-02-11 06:49:51 +00:00
testGuiProcess Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessCrash Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessDeadWhileReading Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEcho Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEcho2 Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEcho3 Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEchoGui Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEnvironment Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEOF Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessHang QProcess: Ensure that the stdin buffer is cleared on start() 2015-08-15 21:59:26 +00:00
testProcessNormal Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessOutput Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessSpacesArgs Update copyright headers 2015-02-11 06:49:51 +00:00
testSetNamedPipeHandleState Update copyright headers 2015-02-11 06:49:51 +00:00
testSetWorkingDirectory Update copyright headers 2015-02-11 06:49:51 +00:00
testSoftExit fix usage of wince scope 2015-06-05 10:29:10 +00:00
testSpaceInName Update copyright headers 2015-02-11 06:49:51 +00:00
.gitignore test: Moving tst_QProcess::echoTest_performance() 2012-10-19 02:43:05 +02:00
BLACKLIST MSVC2015: Blacklist tests reading from stdin in buffered/text mode. 2015-09-30 07:54:58 +00:00
qprocess.pri QProcess: Ensure that the stdin buffer is cleared on start() 2015-08-15 21:59:26 +00:00
qprocess.pro QProcess/Win: allow child processes to change modes of the stdin pipe 2013-12-10 18:36:25 +01:00
tst_qprocess.cpp Remove QPROCESS_USE_SPAWN and all that it surrounds 2016-03-22 15:20:06 +00:00