better themes for cmake, ctest and configure

This commit is contained in:
Johann Dreo 2017-05-17 11:13:01 +02:00
commit 36faadae39
3 changed files with 8 additions and 4 deletions

View file

@ -31,7 +31,8 @@ def theme(context):
[ "^(Scanning dependencies of target)(.*)$",
performing, "normal,bold" ],
# Link (make)
[ "^(Linking .* )(library|executable) (.*/)*(.+(\.[aso]+)*)$",
# [ "^(Linking .* )(library|executable) (.*/)*(.+(\.[aso]+)*)$",
[ "^(Linking .* )(library|executable) (.*)$",
untimed, "normal,normal,bold" ],
# [percent] Creating something
[ "^\[\s*[0-9/]+%?\]\s(.*Creating.*)$",

View file

@ -8,6 +8,9 @@ def theme(context):
["^(configure:) (error:)(.*)", "red","normal,bold"],
["^(configure:)(.*)", "magenta","normal,bold"],
["^(checking .*)", "blue",""],
["^(config.status:) (creating )(.*)", "cyan,blue","normal,normal,bold"],
["^(config.status:) (creating|linking)(.*)", "cyan,blue","normal,normal,bold"],
["^(config.status:) (executing )(.*)", "cyan,green","normal,normal,bold"],
["^(config.status:) (.*)(is unchanged)", "cyan,green","normal,normal,bold"],
["^\s*(Build.*)(yes)$","green", "normal,bold"],
["^\s*(Build.*)(no)$","yellow", "normal,bold"],
]

View file

@ -12,6 +12,6 @@ def theme(context):
return context,[
# Passed
[ "^\s*[0-9]+/[0-9]+ Test\s+#[0-9]+: (.*)\s+\.+\s+(Passed)", passed],
[ "^\s*[0-9]+/[0-9]+ Test\s+#[0-9]+: (.*)\s+\.+(\*{3}.*)\s+.*", notpassed]
[ "^\s*[0-9]+/[0-9]+ Test\s+#[0-9]+: (.*)\s+\.+\s+(Passed)", "blue,"+passed],
[ "^\s*[0-9]+/[0-9]+ Test\s+#[0-9]+: (.*)\s+\.+(\*{3}.*)\s+.*", "blue,"+notpassed]
]