summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2020-09-25 14:07:28 +0200
committerMilian Wolff <milian.wolff@kdab.com>2020-09-29 15:43:08 +0000
commit0df1430d9448ef78a927fdb77f2b6b576e282aa6 (patch)
tree5c7da122b300a293f74c9bac65efc92243fc4b77
parent41fa1524eaad365ed50e99724b1ac81400034bad (diff)
Fix compiling tests with QMake
Change-Id: Iddaf07e55eb777d53b9ed992b496939ef93af07a Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--tests/auto/addresscache/addresscache.pro8
-rw-r--r--tests/auto/perfdata/perfdata.pro6
2 files changed, 10 insertions, 4 deletions
diff --git a/tests/auto/addresscache/addresscache.pro b/tests/auto/addresscache/addresscache.pro
index d288ea1..f53636a 100644
--- a/tests/auto/addresscache/addresscache.pro
+++ b/tests/auto/addresscache/addresscache.pro
@@ -7,13 +7,17 @@ INCLUDEPATH += ../../../app
TARGET = tst_addresscache
+include(../../../elfutils.pri)
+
SOURCES += \
tst_addresscache.cpp \
../../../app/perfelfmap.cpp \
- ../../../app/perfaddresscache.cpp
+ ../../../app/perfaddresscache.cpp \
+ ../../../app/perfdwarfdiecache.cpp
HEADERS += \
../../../app/perfelfmap.h \
- ../../../app/perfaddresscache.h
+ ../../../app/perfaddresscache.h \
+ ../../../app/perfdwarfdiecache.h
OTHER_FILES += addresscache.qbs
diff --git a/tests/auto/perfdata/perfdata.pro b/tests/auto/perfdata/perfdata.pro
index 3f6c938..145ed79 100644
--- a/tests/auto/perfdata/perfdata.pro
+++ b/tests/auto/perfdata/perfdata.pro
@@ -23,7 +23,8 @@ SOURCES += \
../../../app/perfregisterinfo.cpp \
../../../app/perfsymboltable.cpp \
../../../app/perftracingdata.cpp \
- ../../../app/perfunwind.cpp
+ ../../../app/perfunwind.cpp \
+ ../../../app/perfdwarfdiecache.cpp
HEADERS += \
../../../app/perfaddresscache.h \
@@ -37,7 +38,8 @@ HEADERS += \
../../../app/perfregisterinfo.h \
../../../app/perfsymboltable.h \
../../../app/perftracingdata.h \
- ../../../app/perfunwind.h
+ ../../../app/perfunwind.h \
+ ../../../app/perfdwarfdiecache.h
RESOURCES += \
perfdata.qrc