2013-08-26 17:50:02 +02:00
|
|
|
import qbs
|
|
|
|
|
|
2014-04-29 13:42:37 +02:00
|
|
|
QtcAutotest {
|
2013-08-26 17:50:02 +02:00
|
|
|
name: "ExtensionSystem pluginspec autotest"
|
|
|
|
|
Depends { name: "Aggregation" }
|
|
|
|
|
Depends { name: "ExtensionSystem" }
|
2014-08-26 17:29:38 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Sources"
|
|
|
|
|
files: "tst_pluginspec.cpp"
|
2015-07-07 15:37:45 +02:00
|
|
|
cpp.defines: outer.concat([
|
2014-08-26 17:29:38 +02:00
|
|
|
'PLUGIN_DIR="' + destinationDirectory + '"',
|
|
|
|
|
'PLUGINSPEC_DIR="' + sourceDirectory + '"'
|
|
|
|
|
])
|
|
|
|
|
}
|
|
|
|
|
|
2013-08-26 17:50:02 +02:00
|
|
|
Group {
|
|
|
|
|
id: testSpecsGroup
|
|
|
|
|
name: "test specs"
|
|
|
|
|
files: [
|
2014-08-26 17:29:38 +02:00
|
|
|
"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",
|
2013-08-26 17:50:02 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
Group {
|
|
|
|
|
id: testDependenciesGroup
|
|
|
|
|
name: "test dependencies"
|
|
|
|
|
files: [
|
2014-08-26 17:29:38 +02:00
|
|
|
"testdependencies/spec1.json",
|
|
|
|
|
"testdependencies/spec2.json",
|
|
|
|
|
"testdependencies/spec3.json",
|
|
|
|
|
"testdependencies/spec4.json",
|
|
|
|
|
"testdependencies/spec5.json",
|
2013-08-26 17:50:02 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
Group {
|
|
|
|
|
id: specGroup
|
|
|
|
|
name: "spec"
|
2014-08-26 17:29:38 +02:00
|
|
|
files: ["testdir/spec.json"]
|
2013-08-26 17:50:02 +02:00
|
|
|
}
|
|
|
|
|
}
|