# HG changeset patch # User Richard Taylor # Date 1268759011 0 # Node ID 4d8988026f7cceecc047dd07b35d6d0f87ee9919 # Parent 13daff9462b64d50041af0a6e77c3eb875ec5d11 print list of built configs in terminal filter summary diff -r 13daff9462b6 -r 4d8988026f7c sbsv2/raptor/python/plugins/filter_terminal.py --- a/sbsv2/raptor/python/plugins/filter_terminal.py Tue Mar 16 17:02:13 2010 +0000 +++ b/sbsv2/raptor/python/plugins/filter_terminal.py Tue Mar 16 17:03:31 2010 +0000 @@ -161,7 +161,7 @@ # list of strings to catch recipe warnings (must be lowercase) self.recipe_warning_expr = ["warning:"] - + def isMakeWarning(self, text): """A simple test for warnings. Can be extended do to more comprehensive checking.""" @@ -201,6 +201,9 @@ if self.raptor.quiet: self.quiet = True + # the build configurations which were reported + self.built_configs = [] + # keep count of errors and warnings self.err_count = 0 self.warn_count = 0 @@ -393,7 +396,9 @@ self.recipeBody.append(text) else: self.recipelineExceeded += 1 - + elif text.startswith("Buildable configuration '"): + # Buildable configuration 'name' + self.built_configs.append(text[30:-8]) def logit(self): """ log a message """ @@ -435,8 +440,11 @@ sys.stdout.write("%s : errors: %s\n" % (raptor.name, self.err_count)) else: - sys.stdout.write("\nno warnings or errors\n") + sys.stdout.write("\nno warnings or errors\n\n") + for bc in self.built_configs: + sys.stdout.write("built " + bc + "\n") + sys.stdout.write("\nRun time %d seconds\n" % self.raptor.runtime); sys.stdout.write("\n") return True