feat(cmake): improve cmake and ctest themes
This commit is contained in:
parent
6a490a483d
commit
4ca6429485
2 changed files with 5 additions and 2 deletions
|
|
@ -26,7 +26,8 @@ def theme(context):
|
|||
[ "^--.*", performing ],
|
||||
# Errors
|
||||
[ "CMake Error", "red" ],
|
||||
[ "CMake Warning", "yellow" ],
|
||||
[ "CMake Warning", "magenta" ],
|
||||
[ "CMake Deprecation Warning", "magenta" ],
|
||||
# Scan
|
||||
[ "^(Scanning dependencies of target)(.*)$",
|
||||
performing, "normal,bold" ],
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
def theme(context):
|
||||
# CTest theme:
|
||||
passed="green"
|
||||
notrun="yellow"
|
||||
notpassed="red"
|
||||
|
||||
# If the user do not ask for his own colormap
|
||||
|
|
@ -13,5 +14,6 @@ def theme(context):
|
|||
return context,[
|
||||
# Passed
|
||||
[ "^\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]
|
||||
[ "^\s*[0-9]+/[0-9]+ Test\s+#[0-9]+: (.*)\s+\.+(\*{3}Not Run.*)\s+.*", "blue,"+notrun],
|
||||
[ "^\s*[0-9]+/[0-9]+ Test\s+#[0-9]+: (.*)\s+\.+(.*\*{3}.*)\s+.*", "blue,"+notpassed],
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue