diff options
author | Marco Bubke <marco.bubke@qt.io> | 2020-06-13 16:06:33 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2020-06-30 09:52:42 +0000 |
commit | c924a45fb23b711f810b9f71416c9de0cdf7fb8a (patch) | |
tree | 2bb428cb3f5980e4a9e5c79e18930401e37974ec /tests | |
parent | 36b72e2bab6a5baddc9de21a25b4498dc66f2dc0 (diff) |
Refactoring: Fix unit tests
One if the LLVM 10 hot fixes was not working.
Change-Id: I1e6cab39ffd5c52f55fb83ff777f6eca457dea35
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/unittest/unittest.pro | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/unit/unittest/unittest.pro b/tests/unit/unittest/unittest.pro index d40d76db34..48cd04843c 100644 --- a/tests/unit/unittest/unittest.pro +++ b/tests/unit/unittest/unittest.pro @@ -134,18 +134,15 @@ SOURCES += \ sqlstatementbuilder-test.cpp \ createtablesqlstatementbuilder-test.cpp -!isEmpty(QTC_UNITTEST_BUILD_CPP_PARSER):matchingtext-test.cpp +!isEmpty(QTC_UNITTEST_BUILD_CPP_PARSER):SOURCES += matchingtext-test.cpp !isEmpty(LIBCLANG_LIBS) { SOURCES += \ - activationsequencecontextprocessor-test.cpp \ - activationsequenceprocessor-test.cpp \ chunksreportedmonitor.cpp \ clangasyncjob-base.cpp \ clangcodecompleteresults-test.cpp \ clangcodemodelserver-test.cpp \ clangcompletecodejob-test.cpp \ - clangcompletioncontextanalyzer-test.cpp \ clangdiagnosticfilter-test.cpp \ clangdocumentprocessors-test.cpp \ clangdocumentprocessor-test.cpp \ @@ -185,6 +182,12 @@ SOURCES += \ unsavedfile-test.cpp \ utf8positionfromlinecolumn-test.cpp \ readexporteddiagnostics-test.cpp + +!isEmpty(QTC_UNITTEST_BUILD_CPP_PARSER):SOURCE += \ + clangcompletioncontextanalyzer-test.cpp \ + activationsequencecontextprocessor-test.cpp \ + activationsequenceprocessor-test.cpp + } !isEmpty(LIBTOOLING_LIBS) { @@ -200,7 +203,6 @@ SOURCES += \ refactoringclientserverinprocess-test.cpp \ refactoringclient-test.cpp \ refactoringcompilationdatabase-test.cpp \ - refactoringengine-test.cpp \ refactoringserver-test.cpp \ sourcerangeextractor-test.cpp \ symbolindexing-test.cpp \ @@ -209,6 +211,9 @@ SOURCES += \ usedmacrocollector-test.cpp \ builddependencycollector-test.cpp \ tokenprocessor-test.cpp + +!isEmpty(QTC_UNITTEST_BUILD_CPP_PARSER):SOURCES += refactoringengine-test.cpp + } !isEmpty(CLANGFORMAT_LIBS) { |