blob: d9a63758697e7a6ca0344988cf57c98ac602ed4a [file] [log] [blame]
TESTS += $(check_PROGRAMS)
check_PROGRAMS += \
additional_data_test \
ascii_string_test \
bcd_time_test \
failing_mtms_test \
generic_section_test \
log_id_test \
mtms_test \
pel_test \
pel_values_test \
pel_manager_test \
private_header_test \
real_pel_test \
registry_test \
repository_test \
section_header_test \
severity_test \
stream_test \
user_data_test \
user_header_test
pel_objects = \
$(top_builddir)/extensions/openpower-pels/bcd_time.o \
$(top_builddir)/extensions/openpower-pels/failing_mtms.o \
$(top_builddir)/extensions/openpower-pels/generic.o \
$(top_builddir)/extensions/openpower-pels/log_id.o \
$(top_builddir)/extensions/openpower-pels/mtms.o \
$(top_builddir)/extensions/openpower-pels/pel.o \
$(top_builddir)/extensions/openpower-pels/pel_values.o \
$(top_builddir)/extensions/openpower-pels/private_header.o \
$(top_builddir)/extensions/openpower-pels/registry.o \
$(top_builddir)/extensions/openpower-pels/section_factory.o \
$(top_builddir)/extensions/openpower-pels/severity.o \
$(top_builddir)/extensions/openpower-pels/user_data.o \
$(top_builddir)/extensions/openpower-pels/user_header.o
additional_data_test_SOURCES = %reldir%/additional_data_test.cpp
additional_data_test_CPPFLAGS = $(test_cppflags)
additional_data_test_CXXFLAGS = $(test_cxxflags)
additional_data_test_LDADD = $(test_ldadd)
additional_data_test_LDFLAGS = $(test_ldflags)
stream_test_SOURCES = %reldir%/stream_test.cpp
stream_test_CPPFLAGS = $(test_cppflags)
stream_test_CXXFLAGS = $(test_cxxflags)
stream_test_LDADD = $(test_ldadd)
stream_test_LDFLAGS = $(test_ldflags)
bcd_time_test_SOURCES = \
%reldir%/bcd_time_test.cpp
bcd_time_test_CPPFLAGS = $(test_cppflags)
bcd_time_test_CXXFLAGS = $(test_cxxflags)
bcd_time_test_LDADD = \
$(test_ldadd) \
$(top_builddir)/extensions/openpower-pels/bcd_time.o
bcd_time_test_LDFLAGS = $(test_ldflags)
section_header_test_SOURCES = \
%reldir%/section_header_test.cpp
section_header_test_CPPFLAGS = $(test_cppflags)
section_header_test_CXXFLAGS = $(test_cxxflags)
section_header_test_LDADD = $(test_ldadd)
section_header_test_LDFLAGS = $(test_ldflags)
private_header_test_SOURCES = \
%reldir%/private_header_test.cpp %reldir%/pel_utils.cpp %reldir%/paths.cpp
private_header_test_CPPFLAGS = $(test_cppflags)
private_header_test_CXXFLAGS = $(test_cxxflags)
private_header_test_LDADD = \
$(test_ldadd) \
$(pel_objects)
private_header_test_LDFLAGS = $(test_ldflags)
user_header_test_SOURCES = \
%reldir%/user_header_test.cpp %reldir%/pel_utils.cpp %reldir%/paths.cpp
user_header_test_CPPFLAGS = $(test_cppflags)
user_header_test_CXXFLAGS = $(test_cxxflags)
user_header_test_LDADD = \
$(test_ldadd) \
$(pel_objects)
user_header_test_LDFLAGS = $(test_ldflags)
log_id_test_SOURCES = \
%reldir%/log_id_test.cpp %reldir%/paths.cpp
log_id_test_CPPFLAGS = $(test_cppflags)
log_id_test_CXXFLAGS = $(test_cxxflags)
log_id_test_LDADD = \
$(test_ldadd) \
$(top_builddir)/extensions/openpower-pels/log_id.o
log_id_test_LDFLAGS = $(test_ldflags)
pel_test_SOURCES = \
%reldir%/pel_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp
pel_test_CPPFLAGS = $(test_cppflags)
pel_test_CXXFLAGS = $(test_cxxflags)
pel_test_LDADD = \
$(test_ldadd) \
$(pel_objects)
pel_test_LDFLAGS = $(test_ldflags)
real_pel_test_SOURCES = \
%reldir%/real_pel_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp
real_pel_test_CPPFLAGS = $(test_cppflags)
real_pel_test_CXXFLAGS = $(test_cxxflags)
real_pel_test_LDADD = \
$(test_ldadd) \
$(pel_objects)
real_pel_test_LDFLAGS = $(test_ldflags)
repository_test_SOURCES = \
%reldir%/repository_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp
repository_test_CPPFLAGS = $(test_cppflags)
repository_test_CXXFLAGS = $(test_cxxflags)
repository_test_LDADD = \
$(test_ldadd) \
$(pel_objects) \
$(top_builddir)/extensions/openpower-pels/repository.o
repository_test_LDFLAGS = $(test_ldflags)
pel_manager_test_SOURCES = \
%reldir%/pel_manager_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp
pel_manager_test_CPPFLAGS = $(test_cppflags)
pel_manager_test_CXXFLAGS = $(test_cxxflags)
pel_manager_test_LDADD = \
$(test_ldadd) \
$(pel_objects) \
$(top_builddir)/extensions/openpower-pels/data_interface.o \
$(top_builddir)/extensions/openpower-pels/manager.o \
$(top_builddir)/extensions/openpower-pels/repository.o
pel_manager_test_LDFLAGS = $(test_ldflags)
registry_test_SOURCES = \
%reldir%/registry_test.cpp %reldir%/paths.cpp
registry_test_CPPFLAGS = $(test_cppflags)
registry_test_CXXFLAGS = $(test_cxxflags)
registry_test_LDADD = \
$(test_ldadd) \
$(top_builddir)/extensions/openpower-pels/registry.o \
$(top_builddir)/extensions/openpower-pels/pel_values.o
registry_test_LDFLAGS = $(test_ldflags)
severity_test_SOURCES = %reldir%/severity_test.cpp
severity_test_CPPFLAGS = $(test_cppflags)
severity_test_CXXFLAGS = $(test_cxxflags)
severity_test_LDADD = \
$(test_ldflags) \
$(top_builddir)/extensions/openpower-pels/severity.o
severity_test_LDFLAGS = $(test_ldflags)
mtms_test_SOURCES = %reldir%/mtms_test.cpp
mtms_test_CPPFLAGS = $(test_cppflags)
mtms_test_CXXFLAGS = $(test_cxxflags)
mtms_test_LDADD = \
$(test_ldadd) \
$(top_builddir)/extensions/openpower-pels/mtms.o
mtms_test_LDFLAGS = $(test_ldflags)
failing_mtms_test_SOURCES = %reldir%/failing_mtms_test.cpp
failing_mtms_test_CPPFLAGS = $(test_cppflags)
failing_mtms_test_CXXFLAGS = $(test_cxxflags)
failing_mtms_test_LDADD = \
$(test_ldadd) \
$(top_builddir)/extensions/openpower-pels/failing_mtms.o \
$(top_builddir)/extensions/openpower-pels/mtms.o
failing_mtms_test_LDFLAGS = $(test_ldflags)
pel_values_test_SOURCES = %reldir%/pel_values_test.cpp
pel_values_test_CPPFLAGS = $(test_cppflags)
pel_values_test_CXXFLAGS = $(test_cxxflags)
pel_values_test_LDADD = \
$(test_ldflags) \
$(top_builddir)/extensions/openpower-pels/pel_values.o
pel_values_test_LDFLAGS = $(test_ldflags)
generic_section_test_SOURCES = \
%reldir%/generic_section_test.cpp %reldir%/pel_utils.cpp
generic_section_test_CPPFLAGS = $(test_cppflags)
generic_section_test_CXXFLAGS = $(test_cxxflags)
generic_section_test_LDADD = \
$(test_ldadd) \
$(top_builddir)/extensions/openpower-pels/generic.o
generic_section_test_LDFLAGS = $(test_ldflags)
user_data_test_SOURCES = \
%reldir%/user_data_test.cpp %reldir%/pel_utils.cpp
user_data_test_CPPFLAGS = $(test_cppflags)
user_data_test_CXXFLAGS = $(test_cxxflags)
user_data_test_LDADD = \
$(test_ldadd) \
$(top_builddir)/extensions/openpower-pels/user_data.o
user_data_test_LDFLAGS = $(test_ldflags)
ascii_string_test_SOURCES = %reldir%/ascii_string_test.cpp
ascii_string_test_CPPFLAGS = $(test_cppflags)
ascii_string_test_CXXFLAGS = $(test_cxxflags)
ascii_string_test_LDADD = \
$(test_ldadd) \
$(top_builddir)/extensions/openpower-pels/ascii_string.o
ascii_string_test_LDFLAGS = $(test_ldflags)