diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-11-28 16:17:57 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-12-04 14:07:36 +0000 |
commit | ab47d562a13716935d9f1dc7a2287810444de40b (patch) | |
tree | b9488c2cdaa2514d4dab4d9c95d5be41774ae15b /src/plugins/clangtools/clangtoolruncontrol.h | |
parent | 07ec6de8d94e1498407158525baba4be441a791c (diff) |
ClangTools: Provide more information if plugin tests fail
Print the error text we are showing in the info bar. For example:
QWARN : ...testProject(simple.pro) Error: Failed to build the project.
FAIL! : ...testProject(simple.pro) 'finishedSuccessfully' returned FALSE. ()
Change-Id: I7df91909dc4974a2c3aa9d44cb7511222517198c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/clangtools/clangtoolruncontrol.h')
-rw-r--r-- | src/plugins/clangtools/clangtoolruncontrol.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/clangtools/clangtoolruncontrol.h b/src/plugins/clangtools/clangtoolruncontrol.h index 5a9fbbbdd5..bd950d7484 100644 --- a/src/plugins/clangtools/clangtoolruncontrol.h +++ b/src/plugins/clangtools/clangtoolruncontrol.h @@ -72,8 +72,6 @@ public: const FileInfos &fileInfos, bool buildBeforeAnalysis); - bool success() const { return m_success; } // For testing. - int filesAnalyzed() const { return m_filesAnalyzed.size(); } int filesNotAnalyzed() const { return m_filesNotAnalyzed.size(); } int totalFilesToAnalyze() const { return m_fileInfos.size(); } @@ -125,7 +123,6 @@ private: int m_initialQueueSize = 0; QSet<QString> m_filesAnalyzed; QSet<QString> m_filesNotAnalyzed; - bool m_success = false; }; } // namespace Internal |