| 126 | } // unnamed namespace |
| 127 | |
| 128 | void QtPrintersTest::initTestCase() |
| 129 | { |
| 130 | QStandardPaths::setTestModeEnabled(true); |
| 131 | |
| 132 | // Prevent SIGPIPE, then "ICE default IO error handler doing an exit(), pid = <PID>, errno = 32" |
| 133 | // crash when the test runs for at least 60 seconds. This is a workaround for QTBUG-58709. |
| 134 | QCoreApplication::processEvents(); |
| 135 | |
| 136 | const auto gdbExecutable = QStandardPaths::findExecutable("gdb"); |
| 137 | if (gdbExecutable.isEmpty()) { |
| 138 | QSKIP("Skipping because `gdb` executable is not available"); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | void QtPrintersTest::testQString() |
| 143 | { |
nothing calls this directly
no test coverage detected