Commit 5c9f1751 authored by Christian Kandeler's avatar Christian Kandeler

qbs build: Make the autotest template available as an import.

Just like for QtcPlugin, QtcLibrary etc.

Change-Id: I395f5863f31abba589864be3ad41ad7fc893787f
Reviewed-by: default avatarJake Petroules <jake.petroules@petroules.com>
parent 65ee5661
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "Aggregation autotest"
Depends { name: "Aggregation" }
files: "tst_aggregate.cpp"
......
import qbs
Project {
name: "Autotests"
name: "QtcAutotests"
condition: project.withAutotests
references: [
"aggregation/aggregation.qbs",
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "ChangeSet autotest"
Depends { name: "Utils" }
Depends { name: "Qt.gui" } // TODO: Remove once qbs bug is fixed.
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
Depends { name: "CppTools" }
Depends { name: "TextEditor" }
Depends { name: "Utils" }
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "disassembler autotest"
Depends { name: "Qt.network" } // For QHostAddress
Group {
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "Debugger dumpers autotest"
Depends { name: "Utils" }
Depends { name: "Qt.network" } // For QHostAddress
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "gdb autotest"
Depends { name: "Qt.network" } // For QHostAddress
Group {
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "Name demangler autotest"
Group {
name: "Sources from Debugger plugin"
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "simplifytypes autotest"
Depends { name: "Qt.network" } // For QHostAddress
Group {
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "Differ autotest"
Depends { name: "DiffEditor" }
Depends { name: "Qt.widgets" } // For QTextDocument
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "Environment autotest"
Depends { name: "Utils" }
Depends { name: "Qt.widgets" } // TODO: qbs bug, remove when fixed
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
import "../copytransformer.qbs" as CopyTransformer
Autotest {
QtcAutotest {
name: "PluginManager autotest"
Depends { name: "Aggregation" }
Depends { name: "ExtensionSystem" }
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
import "../copytransformer.qbs" as CopyTransformer
Autotest {
QtcAutotest {
name: "ExtensionSystem pluginspec autotest"
Depends { name: "Aggregation" }
Depends { name: "ExtensionSystem" }
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "ExternalTool autotest"
property path corePluginDir: project.ide_source_tree + "/src/plugins/coreplugin"
// TODO: This should be all that is needed here: Depends { name: "Core" }
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "File search autotest"
Depends { name: "Utils" }
Depends { name: "Qt.widgets" } // For QTextDocument
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "Highlighter engine autotest"
Depends { name: "Utils" }
Depends { name: "Qt.widgets" }
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "Generic highlighter specific rules autotest"
Depends { name: "Qt.widgets" }
Group {
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "IoUtils autotest"
Depends { name: "Qt.core" }
files: [
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "ProFileWriter autotest"
Depends { name: "Qt.xml" }
Group {
......
import qbs
import "../../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "QML code model check autotest"
Depends { name: "LanguageUtils" }
Depends { name: "QmlJS" }
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "QML persistenttrie autotest"
Depends { name: "QmlJS" }
Depends { name: "Qt.widgets" } // TODO: Remove when qbs bug is fixed
......
import qbs
import "../../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "QML code formatter autotest"
Depends { name: "QmlJS" }
Depends { name: "QmlJSTools" }
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "QMLJS simple reader autotest"
Depends { name: "QmlJS" }
Depends { name: "Qt.widgets" } // TODO: Remove when qbs bug is fixed
......
import qbs
import "../../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "QmlProjectManager file format autotest"
Depends { name: "QmlJS" }
Depends { name: "Utils" }
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "QML qrc parser autotest"
Depends { name: "QmlJS" }
Depends { name: "QmlJSTools" }
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "QML reformatter autotest"
Depends { name: "QmlJS" }
Depends { name: "Qt.widgets" } // TODO: Remove when qbs bug is fixed
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "QtcProcess autotest"
Depends { name: "Utils" }
Depends { name: "Qt.widgets" } // TODO: qbs bug, remove when fixed
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "TreeViewFind autotest"
Depends { name: "Core" }
Depends { name: "Qt.widgets" } // For QTextDocument
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "ANSI autotest"
Depends { name: "Utils" }
Depends { name: "Qt.widgets" } // TODO: Remove when qbs bug is fixed
......
import qbs
import "../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "FileUtils autotest"
Depends { name: "Utils" }
Depends { name: "Qt.widgets" } // TODO: Remove when qbs bug is fixed
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "StringUtils autotest"
Depends { name: "Utils" }
Depends { name: "Qt.widgets" } // TODO: Remove when qbs bug is fixed
......
import qbs
import "../../../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
name: "Memcheck " + testName + " autotest"
property string testName
targetName: testName // Test runner hardcodes the names of the executables
......
import qbs
import "../autotest.qbs" as Autotest
import QtcAutotest
Autotest {
QtcAutotest {
Depends { name: "QtcSsh" }
Depends { name: "Utils" }
Depends { name: "Qt.widgets" } // TODO: Remove when qbs bug is fixed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment