unit-tests: Don't link files from libimcv into the test executable
This causes odr-violation errors with libasan as some symbols will be defined twice, once in the linked libimcv and once in the test executable itself.
This commit is contained in:
+1
-17
@@ -199,25 +199,9 @@ TESTS = imcv_tests
|
||||
check_PROGRAMS = $(TESTS)
|
||||
|
||||
imcv_tests_SOURCES = \
|
||||
ita/ita_attr_command.c \
|
||||
pa_tnc/pa_tnc_attr_manager.c \
|
||||
seg/seg_env.c seg/seg_contract.c \
|
||||
seg/seg_contract_manager.c \
|
||||
swid_gen/swid_gen.c \
|
||||
swima/swima_data_model.c \
|
||||
swima/swima_event.c \
|
||||
swima/swima_events.c \
|
||||
swima/swima_record.c \
|
||||
swima/swima_inventory.c \
|
||||
swima/swima_collector.c \
|
||||
suites/test_imcv_seg.c \
|
||||
suites/test_imcv_swima.c \
|
||||
ietf/ietf_attr_pa_tnc_error.c \
|
||||
ietf/swima/ietf_swima_attr_req.c \
|
||||
ietf/swima/ietf_swima_attr_sw_inv.c \
|
||||
ietf/swima/ietf_swima_attr_sw_ev.c \
|
||||
tcg/seg/tcg_seg_attr_seg_env.c \
|
||||
imcv.c imcv_tests.h imcv_tests.c
|
||||
imcv_tests.h imcv_tests.c
|
||||
|
||||
imcv_tests_CFLAGS = \
|
||||
-I$(top_srcdir)/src/libimcv \
|
||||
|
||||
Reference in New Issue
Block a user