1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0023609: Tests should handle output containing word error as failure regardless of case

File parse.rules modified to handle word "error" case insensitive
This commit is contained in:
abv 2012-12-03 05:48:24 +04:00
parent 72ae989503
commit cb9292ed80
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
puts "*"
puts "TODO OCC22810 ALL: Tcl Exception: No Extreme faces"
puts "TODO OCC22810 All:TEST INCOMPLETE"
box b 1 1 1
nexplode b f
profile pp x 0.6 y 0.6 x -0.6 y -0.6
@ -17,7 +19,7 @@ wire w e1 e2 e3
plane pl 0.8 0.8 1 1 -1 0
featlf r w pl 0.1 0.1 0 0 0 0 1 1
if { [catch { featperform lf result } ] != 0 } {
if { [catch { featperform lf result } ] } {
puts "Error in featperform"
}

View File

@ -1,2 +1,2 @@
FAILED /\bFaulty\b/ bad shape
IGNORE /Tcl Exception: No Extreme faces/ featlf A4
IGNORE /\bNo error\b/ normal message in featprism L6 and featrevol H9

View File

@ -1,4 +1,4 @@
SKIPPED /Tcl Exception: Error: file .* could not be found/ data file is missing
IGNORE /Tcl Exception: [*][*] Exception [*][*]/ duplicate report on exception on Tcl level
FAILED /\b[Ee]xception\b/ exception
FAILED /\bError\b/ error
FAILED /\b[Ee][Rr][Rr][Oo][Rr]\b/ error