Property to control building unit tests.
This commit is contained in:
parent
2ba1a5db5e
commit
11642ebfe1
|
@ -9,6 +9,9 @@ Module {
|
||||||
property bool enableUbSanitizer: false
|
property bool enableUbSanitizer: false
|
||||||
property bool enableThreadSanitizer: false
|
property bool enableThreadSanitizer: false
|
||||||
|
|
||||||
|
// Use this property to disable building unit tests.
|
||||||
|
property bool enableUnitTests: true
|
||||||
|
|
||||||
property string libDirName: "lib"
|
property string libDirName: "lib"
|
||||||
|
|
||||||
property string appTarget
|
property string appTarget
|
||||||
|
|
|
@ -12,6 +12,7 @@ VApp {
|
||||||
type: base.concat("autotest", "tst_files")
|
type: base.concat("autotest", "tst_files")
|
||||||
bundle.isBundle: false
|
bundle.isBundle: false
|
||||||
install: false
|
install: false
|
||||||
|
condition: buildconfig.enableUnitTests
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"qttestmainlambda.cpp",
|
"qttestmainlambda.cpp",
|
||||||
|
|
|
@ -9,6 +9,7 @@ VApp {
|
||||||
consoleApplication: true
|
consoleApplication: true
|
||||||
bundle.isBundle: false
|
bundle.isBundle: false
|
||||||
install: false
|
install: false
|
||||||
|
condition: buildconfig.enableUnitTests
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"main.cpp"
|
"main.cpp"
|
||||||
|
|
|
@ -11,6 +11,7 @@ VApp {
|
||||||
type: base.concat("autotest")
|
type: base.concat("autotest")
|
||||||
bundle.isBundle: false
|
bundle.isBundle: false
|
||||||
install: false
|
install: false
|
||||||
|
condition: buildconfig.enableUnitTests
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"qttestmainlambda.cpp",
|
"qttestmainlambda.cpp",
|
||||||
|
|
|
@ -14,6 +14,7 @@ VApp {
|
||||||
type: base.concat("autotest")
|
type: base.concat("autotest")
|
||||||
bundle.isBundle: false
|
bundle.isBundle: false
|
||||||
install: false
|
install: false
|
||||||
|
condition: buildconfig.enableUnitTests
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"qttestmainlambda.cpp",
|
"qttestmainlambda.cpp",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user