Files
qt-creator/tests/auto/valgrind/callgrind/CMakeLists.txt
Christian Stenger c6b23f903a Tests: Enable callgrindparser tests for cmake
Change-Id: I2fed0477e9d35e5978a728ed8fee40daca16b565
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-12-11 05:44:38 +00:00

39 lines
2.0 KiB
CMake

add_qtc_test(tst_callgrindparsertests
DEPENDS Utils QtcSsh Core ProjectExplorer Debugger Qt5::Core Qt5::Network
DEFINES
PARSERTESTS_DATA_DIR="${CMAKE_CURRENT_LIST_DIR}/data"
CALLGRINDPARSERTESTS
INCLUDES "${PROJECT_SOURCE_DIR}/src/plugins"
SOURCES callgrindparsertests.cpp callgrindparsertests.h
)
extend_qtc_test(tst_callgrindparsertests
SOURCES_PREFIX "${PROJECT_SOURCE_DIR}/src/plugins/valgrind/"
SOURCES
callgrind/callgrindcallmodel.h callgrind/callgrindcallmodel.cpp
callgrind/callgrindcontroller.h callgrind/callgrindcontroller.cpp
callgrind/callgrindcostitem.h callgrind/callgrindcostitem.cpp
callgrind/callgrindcycledetection.h callgrind/callgrindcycledetection.cpp
callgrind/callgrinddatamodel.h callgrind/callgrinddatamodel.cpp
callgrind/callgrindfunction.h callgrind/callgrindfunction_p.h callgrind/callgrindfunction.cpp
callgrind/callgrindfunctioncall.h callgrind/callgrindfunctioncall.cpp
callgrind/callgrindfunctioncycle.h callgrind/callgrindfunctioncycle.cpp
callgrind/callgrindparsedata.h callgrind/callgrindparsedata.cpp
callgrind/callgrindparser.h callgrind/callgrindparser.cpp
callgrind/callgrindproxymodel.h callgrind/callgrindproxymodel.cpp
callgrind/callgrindstackbrowser.h callgrind/callgrindstackbrowser.cpp
valgrindrunner.h valgrindrunner.cpp
xmlprotocol/announcethread.h xmlprotocol/announcethread.cpp
xmlprotocol/error.h xmlprotocol/error.cpp
xmlprotocol/errorlistmodel.h xmlprotocol/errorlistmodel.cpp
xmlprotocol/frame.h xmlprotocol/frame.cpp
xmlprotocol/modelhelpers.h xmlprotocol/modelhelpers.cpp
xmlprotocol/parser.h xmlprotocol/parser.cpp
xmlprotocol/stack.h xmlprotocol/stack.cpp
xmlprotocol/stackmodel.h xmlprotocol/stackmodel.cpp
xmlprotocol/status.h xmlprotocol/status.cpp
xmlprotocol/suppression.h xmlprotocol/suppression.cpp
xmlprotocol/threadedparser.h xmlprotocol/threadedparser.cpp
)
# skipping modeltest (does not compile due to missing widget handler)