aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-09-24 13:39:14 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-09-25 23:57:59 +0200
commit294bcb3f3c59ebe9229205a204dacafa6642e0df (patch)
tree23424d3147db2256e193f5c6ee9132b4393abba5 /tests/benchmarks
parent9fa846a3a4eedb03ea96658efa74d40935da1b5f (diff)
cmake: enable colorresolving benchmark
Change-Id: I15321e9940b1b9d5a1ae6f1296bf9466ca4f4262 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/quick/CMakeLists.txt2
-rw-r--r--tests/benchmarks/quick/colorresolving/CMakeLists.txt28
2 files changed, 29 insertions, 1 deletions
diff --git a/tests/benchmarks/quick/CMakeLists.txt b/tests/benchmarks/quick/CMakeLists.txt
index acb866acd2..0319ca484e 100644
--- a/tests/benchmarks/quick/CMakeLists.txt
+++ b/tests/benchmarks/quick/CMakeLists.txt
@@ -1,4 +1,4 @@
# Generated from quick.pro.
add_subdirectory(events)
-# add_subdirectory(colorresolving) # special case to be ported
+add_subdirectory(colorresolving)
diff --git a/tests/benchmarks/quick/colorresolving/CMakeLists.txt b/tests/benchmarks/quick/colorresolving/CMakeLists.txt
new file mode 100644
index 0000000000..74b3cc4267
--- /dev/null
+++ b/tests/benchmarks/quick/colorresolving/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from colorresolving.pro.
+
+#####################################################################
+## tst_colorresolving Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_colorresolving
+ GUI
+ QMLTEST
+ SOURCES
+ tst_colorresolving.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:colorresolving.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/data/*.qml"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################