Is it possible to detect segmentation faults (SIGSEGV) within the Qt test library?
Within my testXXX() method, a segmentation fault is thrown which causes a core file to be written. The funny thing about that is that the QTest::qExec() method returns 0 from the method in question.
Even after the segmentation fault the Qt test framework keeps on running with the same PID!!!*
I've tried to set up a signal handler using the sigaction() system call, but that doesn't work either.
Any suggestions welcome and appreciated.