PEL: LightPath: Choose callout location codes

LightPath uses the following rules to pick the location codes to turn on
LEDs for:

* If the PEL wasn't created by the BMC or Hostboot, and doesn't have the
  Service Action action flag set, then don't even check it and don't
  turn on the System Attention Indicator.

* Choose all location codes in the first group of callouts, where a
  group can be:
  * a single medium priority callout
  * one or more high priority callouts
  * one or more medium group A priority callouts

* All callouts in that group must be hardware callouts, meaning the FRU
  identity section's failing component type flag must either be hardware
  callout or symbolic FRU callout with trusted location code.  If there
  is a callout in the group that doesn't meet this requirement, then
  nothing in that group can be used.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ifbe7bddee14b69dc565a405e2f120fb5545f69e5
diff --git a/test/openpower-pels/Makefile.include b/test/openpower-pels/Makefile.include
index b23abd7..ee7f99f 100644
--- a/test/openpower-pels/Makefile.include
+++ b/test/openpower-pels/Makefile.include
@@ -25,6 +25,7 @@
 	registry_test \
 	repository_test \
 	section_header_test \
+	service_indicators_test \
 	severity_test \
 	src_test \
 	src_callout_test \
@@ -392,3 +393,14 @@
 	$(pel_test_utils_ldadd) \
 	$(top_builddir)/extensions/openpower-pels/device_callouts.o
 device_callouts_test_LDFLAGS = $(test_ldflags)
+
+service_indicators_test_SOURCES = \
+	%reldir%/service_indicators_test.cpp
+service_indicators_test_CPPFLAGS = $(test_cppflags)
+service_indicators_test_CXXFLAGS = $(test_cxxflags)
+service_indicators_test_LDADD = \
+	$(test_ldflags) \
+	$(pel_objects) \
+	$(pel_test_utils_ldadd) \
+	$(top_builddir)/extensions/openpower-pels/service_indicators.o
+service_indicators_test_LDFLAGS = $(test_ldflags)