diff options
author | Michal Klocek <michal.klocek@qt.io> | 2017-09-13 18:42:23 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2017-09-19 07:51:20 +0000 |
commit | d8f18e2b918e2f7c8149d3e6cd1510b27bde7dfd (patch) | |
tree | fab2058afa678909dd06f831b79fb68316cdb40a /configure.pri | |
parent | aaac5fe1f9a1be81b919642e6272967f86fef1a5 (diff) |
Add testsupport to new configure system
Change-Id: I123ce22ea3a3d8b7b80c67fa322cb817d924f2e0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'configure.pri')
-rw-r--r-- | configure.pri | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.pri b/configure.pri index c88d4964b..0b6f9fd1b 100644 --- a/configure.pri +++ b/configure.pri @@ -245,3 +245,8 @@ defineTest(isSanitizerLinuxClangVersionSupported) { qtLog("Using Clang version $${QT_CLANG_MAJOR_VERSION}.$${QT_CLANG_MINOR_VERSION}, but at least Clang version 3.7 is required to build a sanitizer-enabled Qt WebEngine.") return(false) } + +defineReplace(qtConfFunc_isTestsInBuildParts) { + contains(QT_BUILD_PARTS, tests): return(true) + return(false) +} |