qt5base-lts/tests/auto/corelib/io/qprocess
Thiago Macieira c377bb385c tst_QProcess: create a more reliable crashing
Turns out that crashing on purpose is more difficult than it seems. It
should be easy, given how often we do it accidentally...

Let the null pointer dereferencing be the fall back. Some compilers are
too smart for their own good and remove the fault. Instead, let's rely
on raise(SIGABRT) on Unix and on the UD2 instruction on Windows.

Pick-To: 5.15
Change-Id: Ibdc95e9af7bd456a94ecfffd1603f1c9b73b167d
Reviewed-by: Simon Hausmann <hausmann@gmail.com>
2020-05-05 12:24:35 -07:00
..
fileWriterProcess Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
test Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testBatFiles Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
testDetached Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testExitCodes Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testForwarding Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testForwardingHelper Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testGuiProcess Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessCrash tst_QProcess: create a more reliable crashing 2020-05-05 12:24:35 -07:00
testProcessDeadWhileReading Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessEcho Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessEcho2 Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessEcho3 Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessEchoGui Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessEnvironment Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessEOF Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessHang Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessNormal Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessOutput Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testProcessSpacesArgs Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testSetNamedPipeHandleState Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testSetWorkingDirectory Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testSoftExit Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
testSpaceInName Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
.gitignore test: Moving tst_QProcess::echoTest_performance() 2012-10-19 02:43:05 +02:00
.prev_CMakeLists.txt Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
BLACKLIST Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
CMakeLists.txt Port more tests from qtbase/tests/auto/corelib/io/ to CMake 2020-05-04 19:21:15 +02:00
qprocess.pri QProcess::startDetached: Fix behavior change on Windows 2018-08-03 08:09:30 +00:00
qprocess.pro QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
tst_qprocess.cpp Port test over to use QRegularExpression 2020-04-13 09:40:38 +02:00