aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-windows/codesign
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata-windows/codesign')
-rw-r--r--tests/auto/blackbox/testdata-windows/codesign/codesign.qbs8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata-windows/codesign/codesign.qbs b/tests/auto/blackbox/testdata-windows/codesign/codesign.qbs
index 2b48c67ff..ef6447ab7 100644
--- a/tests/auto/blackbox/testdata-windows/codesign/codesign.qbs
+++ b/tests/auto/blackbox/testdata-windows/codesign/codesign.qbs
@@ -9,6 +9,7 @@ Project {
CppApplication {
name: "A"
files: "app.cpp"
+ condition: qbs.toolchain.contains("msvc")
codesign.enableCodeSigning: project.enableSigning
codesign.hashAlgorithm: project.hashAlgorithm
codesign.subjectName: project.subjectName
@@ -16,7 +17,8 @@ Project {
install: true
installDir: ""
property bool dummy: {
- console.info("signtool path: %%" + codesign.codesignPath + "%%");
+ if (codesign.codesignPath)
+ console.info("signtool path: %%" + codesign.codesignPath + "%%");
}
}
@@ -24,6 +26,7 @@ Project {
Depends { name: "cpp" }
name: "B"
files: "app.cpp"
+ condition: qbs.toolchain.contains("msvc")
codesign.enableCodeSigning: project.enableSigning
codesign.hashAlgorithm: project.hashAlgorithm
codesign.subjectName: project.subjectName
@@ -31,7 +34,8 @@ Project {
install: true
installDir: ""
property bool dummy: {
- console.info("signtool path: %%" + codesign.codesignPath + "%%");
+ if (codesign.codesignPath)
+ console.info("signtool path: %%" + codesign.codesignPath + "%%");
}
}
}