0023609: Tests should handle output containing word error as failure regardless of...
authorabv <abv@opencascade.com>
Mon, 3 Dec 2012 01:48:24 +0000 (05:48 +0400)
committerabv <abv@opencascade.com>
Fri, 7 Dec 2012 09:03:12 +0000 (13:03 +0400)
File parse.rules modified to handle word "error" case insensitive

tests/feat/featlf/A4
tests/feat/parse.rules
tests/parse.rules

index 9942e8e..d331bf0 100644 (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"
 }
 
index 880f2bc..8b1c632 100644 (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
index d1e4182..f26ebae 100644 (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