File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,11 @@ void PythonQtTestSlotCalling::testPODSlotCalls()
193193 QVERIFY (_helper->runScript (" if obj.getUInt(42)==42: obj.setPassed();\n " ));
194194 QVERIFY (_helper->runScript (" if obj.getShort(-43)==-43: obj.setPassed();\n " ));
195195 QVERIFY (_helper->runScript (" if obj.getUShort(43)==43: obj.setPassed();\n " ));
196+ #if (CHAR_MIN + 0)
196197 QVERIFY (_helper->runScript (" if obj.getChar(-12)==-12: obj.setPassed();\n " ));
198+ #else
199+ QVERIFY (_helper->runScript (" if obj.getChar(250)==250: obj.setPassed();\n " ));
200+ #endif
197201 QVERIFY (_helper->runScript (" if obj.getUChar(12)==12: obj.setPassed();\n " ));
198202 QVERIFY (_helper->runScript (" if obj.getLong(-256*256*256)==-256*256*256: obj.setPassed();\n " ));
199203 QVERIFY (_helper->runScript (" if obj.getULong(256*256*256)==256*256*256: obj.setPassed();\n " ));
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ TEMPLATE = app
99DESTDIR = ../lib
1010QMAKE_RPATHDIR += $$DESTDIR
1111
12- QT += testlib opengl
12+ QT += testlib
1313CONFIG += testcase cmdline exceptions testcase_no_bundle no_testcase_installs
1414
1515# Workaround for MinGW build. Qt incorrectly sets it to empty string on Win32 for bash
You can’t perform that action at this time.
0 commit comments