void-packages/srcpkgs/python3-pyside2/patches/tests-disable-invalid-ones....

75 lines
2.6 KiB
Diff

Disable failing tests. Almost of these are related to OpenGL that is
unsupported by vnc virtual backend.
Raw testing Status: 98% tests passed, 9 tests failed out of 471
--- a/sources/pyside2/tests/QtDataVisualization/CMakeLists.txt
+++ b/sources/pyside2/tests/QtDataVisualization/CMakeLists.txt
@@ -1 +0,0 @@
-PYSIDE_TEST(datavisualization_test.py)
--- a/sources/pyside2/tests/QtGui/CMakeLists.txt
+++ b/sources/pyside2/tests/QtGui/CMakeLists.txt
@@ -20,14 +20,12 @@
PYSIDE_TEST(qcolor_test.py)
PYSIDE_TEST(qcolor_reduce_test.py)
PYSIDE_TEST(qcursor_test.py)
-PYSIDE_TEST(qdatastream_gui_operators_test.py)
PYSIDE_TEST(qdesktopservices_test.py)
PYSIDE_TEST(qfontmetrics_test.py)
PYSIDE_TEST(qguiapplication_test.py)
PYSIDE_TEST(qicon_test.py)
PYSIDE_TEST(qitemselection_test.py)
PYSIDE_TEST(qmatrix_test.py)
-PYSIDE_TEST(qopenglbuffer_test.py)
PYSIDE_TEST(qpainter_test.py)
PYSIDE_TEST(qpdfwriter_test.py)
PYSIDE_TEST(qpixelformat_test.py)
--- a/sources/pyside2/tests/QtOpenGL/CMakeLists.txt
+++ b/sources/pyside2/tests/QtOpenGL/CMakeLists.txt
@@ -1,2 +1 @@
-PYSIDE_TEST(qglbuffer_test.py)
PYSIDE_TEST(qglwidget_test.py)
--- a/sources/pyside2/tests/QtScriptTools/CMakeLists.txt
+++ b/sources/pyside2/tests/QtScriptTools/CMakeLists.txt
@@ -1 +0,0 @@
-PYSIDE_TEST(debugger_test.py)
--- a/sources/pyside2/tests/QtWebEngineCore/CMakeLists.txt
+++ b/sources/pyside2/tests/QtWebEngineCore/CMakeLists.txt
@@ -26,4 +26,3 @@
##
#############################################################################
-PYSIDE_TEST(web_engine_custom_scheme.py)
--- a/sources/pyside2/tests/QtWebEngineWidgets/CMakeLists.txt
+++ b/sources/pyside2/tests/QtWebEngineWidgets/CMakeLists.txt
@@ -26,4 +26,3 @@
##
#############################################################################
-PYSIDE_TEST(pyside-474-qtwebengineview.py)
--- a/sources/pyside2/tests/QtWidgets/CMakeLists.txt
+++ b/sources/pyside2/tests/QtWidgets/CMakeLists.txt
@@ -6,7 +6,6 @@
PYSIDE_TEST(application_test.py)
PYSIDE_TEST(bug_172.py)
PYSIDE_TEST(bug_243.py)
-PYSIDE_TEST(bug_307.py)
PYSIDE_TEST(bug_324.py)
PYSIDE_TEST(bug_338.py)
PYSIDE_TEST(bug_363.py)
@@ -131,7 +131,6 @@
PYSIDE_TEST(qtoolbox_test.py)
PYSIDE_TEST(qvariant_test.py)
PYSIDE_TEST(qwidget_setlayout_test.py)
-PYSIDE_TEST(qwidget_test.py)
PYSIDE_TEST(qcolormap_test.py)
PYSIDE_TEST(reference_count_test.py)
PYSIDE_TEST(signature_test.py)
--- a/sources/pyside2/tests/registry/CMakeLists.txt
+++ b/sources/pyside2/tests/registry/CMakeLists.txt
@@ -37,4 +37,3 @@
##
#############################################################################
-PYSIDE_TEST(existence_test.py)