meson.build (c7026261bb05cc509b0c7fb204ba967419a8b35d) meson.build (626270affc0f71eaab89c45c492e6732238fa360)
1# Get the gtest/gmock dependencies.
2gtest_dep = dependency('gtest', main: true, disabler: true, required: false)
3gmock_dep = dependency('gmock', disabler: true, required: false)
4if not gtest_dep.found() or not gmock_dep.found()
5 cmake = import('cmake')
6 gtest_proj = cmake.subproject('googletest',
7 required: false)
8 if gtest_proj.found()

--- 80 unchanged lines hidden (view full) ---

89tc = 'test-lpc-timeout'
90
91src = [
92 files(
93 tc + '.cpp',
94 '../analyzer/plugins/p10-plugins.cpp',
95 '../analyzer/service_data.cpp',
96 '../util/pdbg.cpp',
1# Get the gtest/gmock dependencies.
2gtest_dep = dependency('gtest', main: true, disabler: true, required: false)
3gmock_dep = dependency('gmock', disabler: true, required: false)
4if not gtest_dep.found() or not gmock_dep.found()
5 cmake = import('cmake')
6 gtest_proj = cmake.subproject('googletest',
7 required: false)
8 if gtest_proj.found()

--- 80 unchanged lines hidden (view full) ---

89tc = 'test-lpc-timeout'
90
91src = [
92 files(
93 tc + '.cpp',
94 '../analyzer/plugins/p10-plugins.cpp',
95 '../analyzer/service_data.cpp',
96 '../util/pdbg.cpp',
97 'dbus-sim-only.cpp',
97 'pdbg-sim-only.cpp',
98 ),
99 pdbg_test_dtb,
100]
101
102dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
103
104var = [ pdbg_env ]

--- 6 unchanged lines hidden (view full) ---

111################################################################################
112
113tc = 'test-pdbg-dts'
114
115src = [
116 files(
117 tc + '.cpp',
118 '../util/pdbg.cpp',
98 'pdbg-sim-only.cpp',
99 ),
100 pdbg_test_dtb,
101]
102
103dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
104
105var = [ pdbg_env ]

--- 6 unchanged lines hidden (view full) ---

112################################################################################
113
114tc = 'test-pdbg-dts'
115
116src = [
117 files(
118 tc + '.cpp',
119 '../util/pdbg.cpp',
120 'dbus-sim-only.cpp',
119 'pdbg-sim-only.cpp',
120 ),
121 pdbg_test_dtb,
122]
123
124dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
125
126var = [ pdbg_env ]

--- 11 unchanged lines hidden (view full) ---

138 files(
139 tc + '.cpp',
140 '../analyzer/plugins/p10-plugins.cpp',
141 '../analyzer/ras-data/ras-data-parser.cpp',
142 '../analyzer/resolution.cpp',
143 '../analyzer/service_data.cpp',
144 '../util/data_file.cpp',
145 '../util/pdbg.cpp',
121 'pdbg-sim-only.cpp',
122 ),
123 pdbg_test_dtb,
124]
125
126dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
127
128var = [ pdbg_env ]

--- 11 unchanged lines hidden (view full) ---

140 files(
141 tc + '.cpp',
142 '../analyzer/plugins/p10-plugins.cpp',
143 '../analyzer/ras-data/ras-data-parser.cpp',
144 '../analyzer/resolution.cpp',
145 '../analyzer/service_data.cpp',
146 '../util/data_file.cpp',
147 '../util/pdbg.cpp',
148 'dbus-sim-only.cpp',
146 'pdbg-sim-only.cpp',
147 ),
148 pdbg_test_dtb,
149]
150
151dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
152
153var = [ pdbg_env ]

--- 8 unchanged lines hidden (view full) ---

162tc = 'test-resolution'
163
164src = [
165 files(
166 tc + '.cpp',
167 '../analyzer/resolution.cpp',
168 '../analyzer/service_data.cpp',
169 '../util/pdbg.cpp',
149 'pdbg-sim-only.cpp',
150 ),
151 pdbg_test_dtb,
152]
153
154dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
155
156var = [ pdbg_env ]

--- 8 unchanged lines hidden (view full) ---

165tc = 'test-resolution'
166
167src = [
168 files(
169 tc + '.cpp',
170 '../analyzer/resolution.cpp',
171 '../analyzer/service_data.cpp',
172 '../util/pdbg.cpp',
173 'dbus-sim-only.cpp',
170 'pdbg-sim-only.cpp',
171 ),
172 pdbg_test_dtb,
173]
174
175dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
176
177var = [ pdbg_env ]

--- 8 unchanged lines hidden (view full) ---

186tc = 'test-tod-step-check-fault'
187
188src = [
189 files(
190 tc + '.cpp',
191 '../analyzer/plugins/p10-tod-plugins.cpp',
192 '../analyzer/service_data.cpp',
193 '../util/pdbg.cpp',
174 'pdbg-sim-only.cpp',
175 ),
176 pdbg_test_dtb,
177]
178
179dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
180
181var = [ pdbg_env ]

--- 8 unchanged lines hidden (view full) ---

190tc = 'test-tod-step-check-fault'
191
192src = [
193 files(
194 tc + '.cpp',
195 '../analyzer/plugins/p10-tod-plugins.cpp',
196 '../analyzer/service_data.cpp',
197 '../util/pdbg.cpp',
198 'dbus-sim-only.cpp',
194 'pdbg-sim-only.cpp',
195 ),
196 pdbg_test_dtb,
197]
198
199dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
200
201var = [ pdbg_env ]

--- 25 unchanged lines hidden ---
199 'pdbg-sim-only.cpp',
200 ),
201 pdbg_test_dtb,
202]
203
204dep = [ libhei_dep, libpdbg_dep, gtest_dep ]
205
206var = [ pdbg_env ]

--- 25 unchanged lines hidden ---