2021-06-25 14:54:27 +02:00
|
|
|
import qbs.FileInfo
|
2018-10-16 17:38:12 +02:00
|
|
|
|
|
|
|
|
QtcAutotest {
|
|
|
|
|
name: "SSH autotest"
|
|
|
|
|
Depends { name: "QtcSsh" }
|
2017-06-14 16:31:33 +02:00
|
|
|
Depends { name: "Utils" }
|
2018-10-16 17:38:12 +02:00
|
|
|
files: "tst_ssh.cpp"
|
2021-06-25 14:54:27 +02:00
|
|
|
cpp.defines: {
|
|
|
|
|
var defines = base;
|
|
|
|
|
var absLibExecPath = FileInfo.joinPaths(qbs.installRoot, qbs.installPrefix,
|
|
|
|
|
qtc.ide_libexec_path);
|
|
|
|
|
var relLibExecPath = FileInfo.relativePath(destinationDirectory, absLibExecPath);
|
|
|
|
|
defines.push('TEST_RELATIVE_LIBEXEC_PATH="' + relLibExecPath + '"');
|
|
|
|
|
return defines;
|
|
|
|
|
}
|
2018-10-16 17:38:12 +02:00
|
|
|
}
|