Files
qt-creator/tests/auto/extensionsystem/pluginspec/test.qbs
Christian Stenger ec9a72808f Tests: Fix pluginspecs test for cmake
Change-Id: I700bd9cbcdabfa08863ffb727a084a9339e660d5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-02-10 05:24:38 +00:00

48 lines
1.2 KiB
QML

import qbs
QtcAutotest {
name: "ExtensionSystem pluginspec autotest"
Depends { name: "Aggregation" }
Depends { name: "ExtensionSystem" }
Group {
name: "Sources"
files: "tst_pluginspec.cpp"
cpp.defines: outer.concat([
'PLUGIN_DIR="' + destinationDirectory + '"',
'PLUGINSPEC_DIR="' + sourceDirectory + '"',
'DLL_INFIX=""'
])
}
Group {
id: testSpecsGroup
name: "test specs"
files: [
"testspecs/simplespec.json",
"testspecs/simplespec_experimental.json",
"testspecs/spec1.json",
"testspecs/spec2.json",
"testspecs/spec_wrong2.json",
"testspecs/spec_wrong3.json",
"testspecs/spec_wrong4.json",
"testspecs/spec_wrong5.json",
]
}
Group {
id: testDependenciesGroup
name: "test dependencies"
files: [
"testdependencies/spec1.json",
"testdependencies/spec2.json",
"testdependencies/spec3.json",
"testdependencies/spec4.json",
"testdependencies/spec5.json",
]
}
Group {
id: specGroup
name: "spec"
files: ["testdir/spec.json"]
}
}