Prevent duplicate entries in callout list
If duplicates exist, only the highest priority callout will remain in
the list.
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ibec768b22c944965460010be8867749a8c0f9044
diff --git a/test/meson.build b/test/meson.build
index ea40e4c..dc374fb 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -11,11 +11,15 @@
'resolution_test',
]
+analyzer_src = files(
+ '../analyzer/service_data.cpp',
+)
+
gtest = dependency('gtest', main : true, required : false, method : 'system')
if gtest.found()
foreach t : tests
- test(t, executable(t.underscorify(), t + '.cpp',
+ test(t, executable(t.underscorify(), [ t + '.cpp', analyzer_src ],
link_with : [ util_lib ],
dependencies : [ libhei_dep, gtest ],
cpp_args : test_arg,