You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-06-08 22:17:28 -07:00
Changing caption unit tests to use minimal QT_QPA_PLATFORM, to avoid unit test crashes on our gitlab builders.
This commit is contained in:
+10
-1
@@ -138,12 +138,21 @@ foreach(tname ${OPENSHOT_TESTS})
|
||||
openshot
|
||||
)
|
||||
|
||||
set(test_properties
|
||||
LABELS ${tname}
|
||||
)
|
||||
if(tname STREQUAL "Caption")
|
||||
list(APPEND test_properties
|
||||
ENVIRONMENT "QT_QPA_PLATFORM=minimal"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Automatically configure CTest targets from Catch2 test cases
|
||||
catch_discover_tests(
|
||||
openshot-${tname}-test
|
||||
TEST_PREFIX ${tname}:
|
||||
PROPERTIES
|
||||
LABELS ${tname}
|
||||
${test_properties}
|
||||
)
|
||||
list(APPEND CATCH2_TEST_TARGETS openshot-${tname}-test)
|
||||
list(APPEND CATCH2_TEST_NAMES ${tname})
|
||||
|
||||
Reference in New Issue
Block a user