summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-07-02 23:48:13 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-10 16:37:37 +0200
commita29af8f024c8fb4bfdf1ce9e6c03387c3abcaffa (patch)
treedcadabb25717ee62b067dc1009925a851e134db5 /tests
parenta063ff854c54f6bdce90717073069d795d5a772f (diff)
downloadqtsvg-a29af8f024c8fb4bfdf1ce9e6c03387c3abcaffa.tar.gz
Add a unit test for testing Qt in its install location.
Change-Id: I6060d3b279c5a01223f0aa0b77f2be9aefa0e200 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/auto.pro5
-rw-r--r--tests/auto/installed_cmake/installed_cmake.pro4
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index ab7b1d2..43ff500 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -5,6 +5,9 @@ qtHaveModule(widgets) {
qsvggenerator \
qsvgrenderer \
qicon_svg \
- cmake
+ cmake \
+ installed_cmake
+
+ installed_cmake.depends = cmake
}
!cross_compile: SUBDIRS += host.pro
diff --git a/tests/auto/installed_cmake/installed_cmake.pro b/tests/auto/installed_cmake/installed_cmake.pro
new file mode 100644
index 0000000..14d0b28
--- /dev/null
+++ b/tests/auto/installed_cmake/installed_cmake.pro
@@ -0,0 +1,4 @@
+include(../cmake/cmake.pro)
+
+CONFIG -= ctest_testcase
+CONFIG += ctest_testcase_installed