From: apn Date: Mon, 3 Sep 2018 08:52:00 +0000 (+0300) Subject: 0030093: Test system - Incorrect parsing of the regular expression X-Git-Tag: OCCT_VC2017_73~14 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=93808a4a9cc9052e425a62e3d093d848b028f686;p=occt.git 0030093: Test system - Incorrect parsing of the regular expression Add "\-" to regular expression (which contained only literal, numeric and underscore character). --- diff --git a/src/DrawResources/TestCommands.tcl b/src/DrawResources/TestCommands.tcl index 2c994bac23..751151c947 100644 --- a/src/DrawResources/TestCommands.tcl +++ b/src/DrawResources/TestCommands.tcl @@ -1634,7 +1634,7 @@ proc _log_html_summary {logdir log totals regressions improvements skipped total puts $fd "" set groupgrid "" foreach test [lrange $featured 1 end] { - if { ! [regexp {^(.*)\s+([\w.]+)$} $test res gg name] } { + if { ! [regexp {^(.*)\s+([\w\-.]+)$} $test res gg name] } { set gg UNKNOWN set name "Error building short list; check details" }