Set working directory for autotest.

This commit is contained in:
Roman Telezhynskyi 2023-02-16 20:05:37 +02:00
parent 69a75decac
commit 5c2eb064bf
3 changed files with 7 additions and 0 deletions

View File

@ -6,11 +6,13 @@ VTestApp {
Depends { name: "Qt"; submodules: ["testlib", "gui", "printsupport"] }
Depends { name: "VTestLib" }
Depends { name: "conan.XercesC"; condition: buildconfig.useConanPackages }
Depends { name: "autotest" }
name: "CollectionTest"
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "CollectionTest" : "collectionTest"
targetName: buildconfig.appTarget
type: base.concat("tst_files")
autotest.workingDir: product.buildDirectory
files: [
"qttestmainlambda.cpp",

View File

@ -5,10 +5,12 @@ VTestApp {
Depends { name: "VTestLib" }
Depends { name: "Qt"; submodules: ["testlib", "xml", "gui", "printsupport"] }
Depends { name: "conan.XercesC"; condition: buildconfig.useConanPackages }
Depends { name: "autotest" }
name: "TranslationsTest"
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "TranslationsTest" : "translationsTest"
targetName: buildconfig.appTarget
autotest.workingDir: product.buildDirectory
files: [
"qttestmainlambda.cpp",

View File

@ -10,6 +10,7 @@ VTestApp {
Depends { name: "VDXFLib" }
Depends { name: "VFormatLib" }
Depends { name: "ebr" }
Depends { name: "autotest" }
Depends {
name: "Qt.xmlpatterns"
@ -20,6 +21,8 @@ VTestApp {
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "ValentinaTest" : "valentinaTest"
targetName: buildconfig.appTarget
autotest.workingDir: product.buildDirectory
files: [
"qttestmainlambda.cpp",
"tst_dxf.cpp",