forked from qt-creator/qt-creator
ClangTools: Generalize unit tests
Add an option to run different tools. Change-Id: Iaf5c928663a888526eba9ee9d1fcea59e6083488 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
#ifdef WITH_TESTS
|
||||
#include "clangstaticanalyzerpreconfiguredsessiontests.h"
|
||||
#include "clangstaticanalyzerunittests.h"
|
||||
#include "clangtoolsunittests.h"
|
||||
#endif
|
||||
|
||||
#include <debugger/analyzer/analyzericons.h>
|
||||
@@ -135,7 +135,7 @@ QList<QObject *> ClangToolsPlugin::createTestObjects() const
|
||||
QList<QObject *> tests;
|
||||
#ifdef WITH_TESTS
|
||||
tests << new ClangStaticAnalyzerPreconfiguredSessionTests;
|
||||
tests << new ClangStaticAnalyzerUnitTests;
|
||||
tests << new ClangToolsUnitTests;
|
||||
#endif
|
||||
return tests;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user