qt6-bb10/tests/auto/corelib/io/qprocess/testProcessCrash
Thiago Macieira f992402f15 tst_QProcess: move the crasher code to a header
So I can use it in tst_QProcess itself.

This also modernizes it a bit by using __builtin_trap() where available.
On x86-64, this expands to the ud2 instruction.

Pick-to: 6.6
Change-Id: Ib5ce7a497e034ebabb2cfffd176288433378731b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-06-07 17:09:52 -07:00
..
CMakeLists.txt tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
main.cpp tst_QProcess: move the crasher code to a header 2023-06-07 17:09:52 -07:00