Include some existing manual tests in the Qbs build system

Change-Id: Iceb346c42ff798430fb4ee6887b34f89768f014b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Alessandro Portale
2020-12-05 01:31:11 +01:00
parent ae696a5b6f
commit dce06016ef
7 changed files with 78 additions and 0 deletions

11
tests/manual/manual.qbs Normal file
View File

@@ -0,0 +1,11 @@
import qbs
Project {
name: "QtcManualtests"
condition: project.withAutotests
references: [
"widgets/widgets.qbs",
]
}

View File

@@ -0,0 +1,11 @@
Group {
prefix: path + "/"
name: "Common sources"
files: [
"themeselector.cpp",
"themeselector.h",
"themes.qrc",
]
}

View File

@@ -0,0 +1,14 @@
import "../common/common.qbs" as Common
CppApplication {
name: "Manual Test Utils CrumblePath"
Depends { name: "Core" }
Depends { name: "Utils" }
files: [
"tst_manual_widgets_crumblepath.cpp",
]
Common {}
}

View File

@@ -0,0 +1,14 @@
import "../common/common.qbs" as Common
CppApplication {
name: "Manual Test Utils InfoLabel"
Depends { name: "Core" }
Depends { name: "Utils" }
files: [
"tst_manual_widgets_infolabel.cpp",
]
Common {}
}

View File

@@ -0,0 +1,14 @@
import "../common/common.qbs" as Common
CppApplication {
name: "Manual Test Utils ManhattanStyle"
Depends { name: "Core" }
Depends { name: "Utils" }
files: [
"tst_manual_widgets_manhattanstyle.cpp",
]
Common {}
}

View File

@@ -0,0 +1,13 @@
import qbs
Project {
name: "Widgets manualtests"
condition: project.withAutotests
references: [
"crumblepath/crumblepath.qbs",
"infolabel/infolabel.qbs",
"manhattanstyle/manhattanstyle.qbs",
]
}

View File

@@ -4,6 +4,7 @@ Project {
name: "Tests" name: "Tests"
references: [ references: [
"auto/auto.qbs", "auto/auto.qbs",
"manual/manual.qbs",
"unit/unit.qbs", "unit/unit.qbs",
] ]
} }