forked from qt-creator/qt-creator
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:
11
tests/manual/manual.qbs
Normal file
11
tests/manual/manual.qbs
Normal file
@@ -0,0 +1,11 @@
|
||||
import qbs
|
||||
|
||||
Project {
|
||||
name: "QtcManualtests"
|
||||
|
||||
condition: project.withAutotests
|
||||
|
||||
references: [
|
||||
"widgets/widgets.qbs",
|
||||
]
|
||||
}
|
11
tests/manual/widgets/common/common.qbs
Normal file
11
tests/manual/widgets/common/common.qbs
Normal file
@@ -0,0 +1,11 @@
|
||||
Group {
|
||||
prefix: path + "/"
|
||||
|
||||
name: "Common sources"
|
||||
|
||||
files: [
|
||||
"themeselector.cpp",
|
||||
"themeselector.h",
|
||||
"themes.qrc",
|
||||
]
|
||||
}
|
14
tests/manual/widgets/crumblepath/crumblepath.qbs
Normal file
14
tests/manual/widgets/crumblepath/crumblepath.qbs
Normal 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 {}
|
||||
}
|
14
tests/manual/widgets/infolabel/infolabel.qbs
Normal file
14
tests/manual/widgets/infolabel/infolabel.qbs
Normal 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 {}
|
||||
}
|
14
tests/manual/widgets/manhattanstyle/manhattanstyle.qbs
Normal file
14
tests/manual/widgets/manhattanstyle/manhattanstyle.qbs
Normal 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 {}
|
||||
}
|
13
tests/manual/widgets/widgets.qbs
Normal file
13
tests/manual/widgets/widgets.qbs
Normal file
@@ -0,0 +1,13 @@
|
||||
import qbs
|
||||
|
||||
Project {
|
||||
name: "Widgets manualtests"
|
||||
|
||||
condition: project.withAutotests
|
||||
|
||||
references: [
|
||||
"crumblepath/crumblepath.qbs",
|
||||
"infolabel/infolabel.qbs",
|
||||
"manhattanstyle/manhattanstyle.qbs",
|
||||
]
|
||||
}
|
@@ -4,6 +4,7 @@ Project {
|
||||
name: "Tests"
|
||||
references: [
|
||||
"auto/auto.qbs",
|
||||
"manual/manual.qbs",
|
||||
"unit/unit.qbs",
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user