forked from qt-creator/qt-creator
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove dependency on project.withAutotests by adding local {Qt,Cpp}Application overrides that alias QtcManualTest. This way, the respective products are a QtcManualTest when inside Qt Creator, while also working outside the source tree. - Rename QtcManualtest to QtcManualTest. (The reason QtcAutotest is not camel-cased is because "autotest" is a single word.) - Plus some minor clean-ups. Change-Id: Idd77191f0b433d6d7443c639eebda383ab110082 Reviewed-by: Christian Stenger <[email protected]> Reviewed-by: <[email protected]>
- Loading branch information
Showing
25 changed files
with
42 additions
and
73 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
import qbs.FileInfo | ||
|
||
Project { | ||
QtcManualtest { | ||
name: "DeviceShell manualtest" | ||
QtcManualTest { | ||
name: "DeviceShell manualtest" | ||
|
||
Depends { name: "Utils" } | ||
Depends { name: "app_version_header" } | ||
Depends { name: "Utils" } | ||
Depends { name: "app_version_header" } | ||
|
||
files: [ | ||
"tst_deviceshell.cpp", | ||
] | ||
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; | ||
} | ||
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; | ||
} | ||
|
||
files: "tst_deviceshell.cpp" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
QtcManualTest {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
QtcManualTest {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
QtcManualtest { | ||
QtcManualTest { | ||
name: "Manual debugger shootout test" | ||
|
||
files: [ | ||
"tst_codesize.cpp", | ||
] | ||
files: "tst_codesize.cpp" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
import qbs.FileInfo | ||
|
||
QtcManualtest { | ||
QtcManualTest { | ||
name: "Spinner example" | ||
type: ["application"] | ||
|
||
Depends { name: "Qt"; submodules: ["widgets"] } | ||
Depends { name: "Spinner" } | ||
|
||
files: [ | ||
"main.cpp", | ||
] | ||
files: "main.cpp" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import qbs.FileInfo | ||
|
||
QtcManualtest { | ||
QtcManualTest { | ||
name: "Tasking demo" | ||
type: ["application"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import qbs.FileInfo | ||
|
||
QtcManualtest { | ||
QtcManualTest { | ||
name: "Tasking imagescaling" | ||
type: ["application"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
|
||
CppApplication { | ||
name: "Manual Test Utils LayoutBuilder" | ||
|
||
Depends { name: "qtc" } | ||
Depends { name: "Core" } | ||
Depends { name: "Utils" } | ||
|
||
files: [ | ||
"tst_manual_widgets_layoutbuilder.cpp", | ||
] | ||
files: "tst_manual_widgets_layoutbuilder.cpp" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters