From dce06016efafe30a0b18030c129e8badb762413e Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Sat, 5 Dec 2020 01:31:11 +0100 Subject: [PATCH] Include some existing manual tests in the Qbs build system Change-Id: Iceb346c42ff798430fb4ee6887b34f89768f014b Reviewed-by: Christian Kandeler --- tests/manual/manual.qbs | 11 +++++++++++ tests/manual/widgets/common/common.qbs | 11 +++++++++++ tests/manual/widgets/crumblepath/crumblepath.qbs | 14 ++++++++++++++ tests/manual/widgets/infolabel/infolabel.qbs | 14 ++++++++++++++ .../widgets/manhattanstyle/manhattanstyle.qbs | 14 ++++++++++++++ tests/manual/widgets/widgets.qbs | 13 +++++++++++++ tests/tests.qbs | 1 + 7 files changed, 78 insertions(+) create mode 100644 tests/manual/manual.qbs create mode 100644 tests/manual/widgets/common/common.qbs create mode 100644 tests/manual/widgets/crumblepath/crumblepath.qbs create mode 100644 tests/manual/widgets/infolabel/infolabel.qbs create mode 100644 tests/manual/widgets/manhattanstyle/manhattanstyle.qbs create mode 100644 tests/manual/widgets/widgets.qbs diff --git a/tests/manual/manual.qbs b/tests/manual/manual.qbs new file mode 100644 index 00000000000..d79742c5f03 --- /dev/null +++ b/tests/manual/manual.qbs @@ -0,0 +1,11 @@ +import qbs + +Project { + name: "QtcManualtests" + + condition: project.withAutotests + + references: [ + "widgets/widgets.qbs", + ] +} diff --git a/tests/manual/widgets/common/common.qbs b/tests/manual/widgets/common/common.qbs new file mode 100644 index 00000000000..b5c00730f25 --- /dev/null +++ b/tests/manual/widgets/common/common.qbs @@ -0,0 +1,11 @@ +Group { + prefix: path + "/" + + name: "Common sources" + + files: [ + "themeselector.cpp", + "themeselector.h", + "themes.qrc", + ] +} diff --git a/tests/manual/widgets/crumblepath/crumblepath.qbs b/tests/manual/widgets/crumblepath/crumblepath.qbs new file mode 100644 index 00000000000..af1860a52ec --- /dev/null +++ b/tests/manual/widgets/crumblepath/crumblepath.qbs @@ -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 {} +} diff --git a/tests/manual/widgets/infolabel/infolabel.qbs b/tests/manual/widgets/infolabel/infolabel.qbs new file mode 100644 index 00000000000..ce00065c7cf --- /dev/null +++ b/tests/manual/widgets/infolabel/infolabel.qbs @@ -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 {} +} diff --git a/tests/manual/widgets/manhattanstyle/manhattanstyle.qbs b/tests/manual/widgets/manhattanstyle/manhattanstyle.qbs new file mode 100644 index 00000000000..97a728a6f63 --- /dev/null +++ b/tests/manual/widgets/manhattanstyle/manhattanstyle.qbs @@ -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 {} +} diff --git a/tests/manual/widgets/widgets.qbs b/tests/manual/widgets/widgets.qbs new file mode 100644 index 00000000000..fff0c158c0e --- /dev/null +++ b/tests/manual/widgets/widgets.qbs @@ -0,0 +1,13 @@ +import qbs + +Project { + name: "Widgets manualtests" + + condition: project.withAutotests + + references: [ + "crumblepath/crumblepath.qbs", + "infolabel/infolabel.qbs", + "manhattanstyle/manhattanstyle.qbs", + ] +} diff --git a/tests/tests.qbs b/tests/tests.qbs index 4e04ae57d80..adabf7a3982 100644 --- a/tests/tests.qbs +++ b/tests/tests.qbs @@ -4,6 +4,7 @@ Project { name: "Tests" references: [ "auto/auto.qbs", + "manual/manual.qbs", "unit/unit.qbs", ] }