summaryrefslogtreecommitdiffstats
path: root/tests/testcommon.pri
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@theqtcompany.com>2015-08-20 15:25:22 +0200
committerPaul Olav Tvete <paul.tvete@theqtcompany.com>2015-11-02 12:27:53 +0000
commit7b2433fd6fefe7642268da3aa270bbc86e81a7b8 (patch)
treed3d6f6abd001be52375d55743bcbe2cf85a74cd9 /tests/testcommon.pri
parent824429627f383a5cc81d734999da9b39e17b49bd (diff)
qmakeify all over again
Change-Id: I96996ae306b30996375518ad7586110fff9dadb5 Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'tests/testcommon.pri')
-rw-r--r--tests/testcommon.pri11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testcommon.pri b/tests/testcommon.pri
new file mode 100644
index 0000000..2b8ed16
--- /dev/null
+++ b/tests/testcommon.pri
@@ -0,0 +1,11 @@
+include (testlibs/testlibs.pri)
+
+SOURCES += $$PWD/testlibs/testmain.cpp
+
+CONFIG += testcase
+CONFIG += c++11
+
+# if there is a common directory above the test, include it
+exists ($$OUT_PWD/../common/common.pri) {
+ include ($$OUT_PWD/../common/common.pri)
+}