File: 3000_disable_test_qml_plugin.patch

package info (click to toggle)
biometryd 0.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,500 kB
  • sloc: cpp: 10,221; ansic: 191; python: 42; makefile: 20
file content (19 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Disable test_qml_plugin
  Sporadically fails on different platforms
Author: Anton Gladky <gladk@debian.org>
Forwarded: https://gitlab.com/ubports/development/core/biometryd/-/issues/4
Last-Update: 2022-10-21

--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -79,8 +79,8 @@
 else()
 add_executable(test_qml_plugin test_qml_plugin.cpp)
 target_link_libraries(test_qml_plugin Qt5::Core Qt5::Qml Qt5::Quick Qt5::QuickTest)
-add_test(test_qml_plugin test_qml_plugin)
-set_tests_properties(test_qml_plugin PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=minimal;QML2_IMPORT_PATH=${CMAKE_BINARY_DIR}/src/biometry/qml;BIOMETRYD_QML_ENABLE_TESTING=1")
+#add_test(test_qml_plugin test_qml_plugin)
+#set_tests_properties(test_qml_plugin PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=minimal;QML2_IMPORT_PATH=${CMAKE_BINARY_DIR}/src/biometry/qml;BIOMETRYD_QML_ENABLE_TESTING=1")
 file(GLOB BIOMETRYD_QML_TEST_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} tst_*.qml)
 
 foreach (QML_FILE ${BIOMETRYD_QML_TEST_FILES})