on xenial help sign in
Force the suru icon theme on all Lomiri tests

https://github.com/ubports/ubuntu-ui-toolkit/pull/79 made the UITK no longer assume that the Suru icon theme is desired. We can enforce it for testing purposes.

commitd07cfbed2f0425050249e5b87dfd66fc35d86fe2 authorDalton Durst <dalton@ubports.com> dateMon 15 Jun 2020, 12:54 (6 years ago) parent5744208
1 file changed+6−2
tests/CMakeLists.txt+6−2
tests/CMakeLists.txt+6−2
@@ -73,8 +73,9 @@ function(add_unity8_unittest COMPONENT_NAME TARGET)
7373 TARGETS unittests
7474 ${U8TEST_ARGN}
7575 ENVIRONMENT ${environment}
76− QT_QPA_PLATFORM=minimal
7776 ${U8TEST_ENVIRONMENT}
77+ QT_QPA_PLATFORM=minimal
78+ UITK_ICON_THEME=suru
7879 )
7980endfunction()
8081
@@ -87,6 +88,7 @@ function(add_unity8_uitest COMPONENT_NAME TARGET)
8788 ${U8TEST_ARGN}
8889 ENVIRONMENT ${environment}
8990 ${U8TEST_ENVIRONMENT}
91+ UITK_ICON_THEME=suru
9092 )
9193endfunction()
9294
@@ -99,8 +101,9 @@ function(add_unity8_qmlunittest PATH COMPONENT_NAME)
99101 TARGET unittests
100102 ${U8TEST_ARGN}
101103 ENVIRONMENT ${environment}
102− QT_QPA_PLATFORM=minimal
103104 ${U8TEST_ENVIRONMENT}
105+ QT_QPA_PLATFORM=minimal
106+ UITK_ICON_THEME=suru
104107 )
105108endfunction()
106109
@@ -113,6 +116,7 @@ function(add_unity8_qmltest PATH COMPONENT_NAME)
113116 ${U8TEST_ARGN}
114117 ENVIRONMENT ${environment}
115118 ${U8TEST_ENVIRONMENT}
119+ UITK_ICON_THEME=suru
116120 )
117121endfunction()
118122