File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,23 @@ string(ASCII 27 ESC)
13
13
# (i.e., [ without matching ]) and that element must be the last element of the
14
14
# list.
15
15
16
- # Never ever EVER _**EVER**_ should CTest fail the build of its own accord.
16
+ # "DEBUG" emitted by Bazel may be colored yellow (CSI 33m), "WARNING" emitted
17
+ # by Bazel may be colored magenta (CSI 35m), and "warning" emitted by Clang may
18
+ # be colored magenta (CSI 35m) and bolded (CSI 1m).
17
19
list (APPEND CTEST_CUSTOM_ERROR_EXCEPTION
18
- ".*"
20
+ "^DEBUG: "
21
+ ": DrakeDeprecationWarning: "
22
+ ": SyntaxWarning: invalid escape sequence "
23
+ "^WARNING: "
24
+ ": warning: "
25
+ ":[0-9]+: Failure$"
26
+ "(^${ESC} \\ [33mDEBUG|^${ESC} \\ [35mWARNING|: ${ESC} \\ [0m${ESC} \\ [0\; 1\; 35mwarning): ${ESC} \\ [0m"
27
+ )
28
+
29
+ # "ERROR" emitted by Bazel may be colored red (CSI 31m) and bolded (CSI 1m).
30
+ list (APPEND CTEST_CUSTOM_ERROR_MATCH
31
+ "^ERROR: "
32
+ "^${ESC} \\ [31m${ESC} \\ [1mERROR: ${ESC} \\ [0m"
19
33
)
20
34
21
35
# Ignore various Mac CROSSTOOL-related warnings.
You can’t perform that action at this time.
0 commit comments