forked from qt-creator/qt-creator
Change IPlugin::fileName() and IPlugin::location to use FilePath instead of QString. Change-Id: If473ab1e258951735f93221cbd62c505f0727eb2 Reviewed-by: hjk <hjk@qt.io>
50 lines
1.3 KiB
QML
50 lines
1.3 KiB
QML
import qbs
|
|
|
|
QtcAutotest {
|
|
name: "ExtensionSystem pluginspec autotest"
|
|
Depends { name: "Aggregation" }
|
|
Depends { name: "ExtensionSystem" }
|
|
Depends { name: "Utils" }
|
|
|
|
Group {
|
|
name: "Sources"
|
|
files: "tst_pluginspec.cpp"
|
|
cpp.defines: outer.concat([
|
|
'PLUGIN_DIR="' + destinationDirectory + '"',
|
|
'PLUGINSPEC_DIR="' + sourceDirectory + '"',
|
|
'DLL_INFIX="' + (qbs.buildVariant === "debug" ? "d" : "") + '"'
|
|
])
|
|
}
|
|
|
|
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"]
|
|
}
|
|
}
|