mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0028097: Test system does not recognize 'fail...' messages as errors
Test parse rules are improved to recognize messages with word 'fail' or 'failure' as errors. Test cases are corrected accordingly (TODO or REQUIRED statements added where fail messages were not noticed previously).
This commit is contained in:
parent
229add784f
commit
0e443e130c
@ -3480,7 +3480,7 @@ static Standard_Integer OCC24923(
|
||||
const Standard_Real aDeviation =
|
||||
1. - (Standard_Real)(aPointsNb - aFailedNb) / (Standard_Real)aPointsNb;
|
||||
|
||||
theDI << "Number of failed cases: " << aFailedNb << " (Total " << aPointsNb << ")\n";
|
||||
theDI << "Number of incorrect cases: " << aFailedNb << " (Total " << aPointsNb << ")\n";
|
||||
if (aDeviation > aMaxDeviation)
|
||||
{
|
||||
theDI << "Failed. Number of incorrect results is too huge: " <<
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
#jmu
|
||||
#pro18457
|
||||
#cascade 2.1
|
||||
|
@ -1,8 +1,9 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "PRO15946"
|
||||
puts "Fuse"
|
||||
puts ""
|
||||
|
||||
|
||||
restore [locate_data_file CFE900_uki60gfk.rle] base
|
||||
restore [locate_data_file uki60919b.brep] cont
|
||||
|
||||
|
@ -12,5 +12,5 @@ set bug_info [OCC24923]
|
||||
set num_failed [string range [lindex $bug_info 12] 0 [expr {[string first "%" [lindex $bug_info 12]] - 1}]]
|
||||
set max_failed [string range [lindex $bug_info 14] 0 [expr {[string first "%" [lindex $bug_info 14]] - 1}]]
|
||||
if {$num_failed > $max_failed} {
|
||||
puts "ERROR: OCC24923 is reproduced. Number of failed tests is too large ($num_failed > $max_failed)."
|
||||
puts "ERROR: OCC24923 is reproduced. Number of incorrect tests is too large ($num_failed > $max_failed)."
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
puts "TODO OCC24938 ALL: Meshing statuses: Failure ReMesh"
|
||||
puts "TODO OCC24938 ALL: Error: Number of triangles is equal to 0"
|
||||
puts "TODO OCC24938 ALL: Error: Number of nodes is equal to 0"
|
||||
#puts "TODO OCC24938 ALL: Error : area by triangles differs from the actual area by"
|
||||
|
@ -8,25 +8,11 @@ puts ""
|
||||
|
||||
restore [locate_data_file bug26664_f.brep] a
|
||||
|
||||
#1
|
||||
vinit
|
||||
vsetdispmode 1
|
||||
vdisplay a
|
||||
vfit
|
||||
vdump ${imagedir}/${casename}_1.png
|
||||
# adaptive meshing is OK
|
||||
tclean a
|
||||
incmesh a 1e-4 -adaptive
|
||||
|
||||
#2
|
||||
# non-adaptive meshing fails
|
||||
puts "TODO 26664 ALL: Meshing statuses: Failure"
|
||||
tclean a
|
||||
incmesh a 1e-4
|
||||
vdisplay a
|
||||
vdump ${imagedir}/${casename}_2.png
|
||||
|
||||
#3
|
||||
set log2 [incmesh a 1e-4 -adaptive]
|
||||
vdisplay a
|
||||
vdump ${imagedir}/${casename}_3.png
|
||||
|
||||
if { [regexp "NoError" ${log2}] == 1 } {
|
||||
puts "OK : Triangulating a very small polygon is good"
|
||||
} else {
|
||||
puts "Error : Triangulating a very small polygon fails"
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "============"
|
||||
puts "OCC12918"
|
||||
puts "============"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "============"
|
||||
puts "OCC697"
|
||||
puts "============"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "============"
|
||||
puts "OCC697"
|
||||
puts "============"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "============"
|
||||
puts "OCC697"
|
||||
puts "============"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "============"
|
||||
puts "OCC697"
|
||||
puts "============"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO OCC25915 ALL: FAILED during Triangulation"
|
||||
puts "TODO OCC25915 ALL: Triangulation FAILED for 1 of 2 Faces"
|
||||
puts "TODO OCC25915 ALL: Faulty OCC825"
|
||||
puts "TODO OCC25915 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "=========="
|
||||
puts "OCC22829"
|
||||
puts "=========="
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "================"
|
||||
puts "OCC24003"
|
||||
puts "================"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 Windows: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "================"
|
||||
puts "OCC24764"
|
||||
puts "================"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "================"
|
||||
puts "OCC25625"
|
||||
puts "================"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "REQUIRED All: Projection Failed"
|
||||
|
||||
puts "========"
|
||||
puts "OCC25980"
|
||||
puts "========"
|
||||
@ -11,6 +13,7 @@ restore [locate_data_file s1t.draw] s
|
||||
|
||||
set bug_info [catch {project x c s}]
|
||||
|
||||
# Projection should fail due to big distance of projection at curve beginning
|
||||
if {$bug_info == 0} {
|
||||
puts "ERROR: OCC25980 is reproduced."
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "=========="
|
||||
puts "OCC24161"
|
||||
puts "=========="
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "REQUIRED All: filling failed"
|
||||
|
||||
puts "============"
|
||||
puts "OCC27873"
|
||||
puts "============"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "========"
|
||||
puts "OCC28283"
|
||||
puts "========"
|
||||
|
@ -1,3 +1,4 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
puts "TODO OCC21134 ALL: Error: checkshape command does not return faulty shapes"
|
||||
|
||||
puts "============"
|
||||
|
@ -1,7 +1,6 @@
|
||||
puts "TODO OCC26225 ALL: Tcl Exception: compute of chamfer failed"
|
||||
puts "TODO OCC26225 ALL: compute of chamfer failed"
|
||||
puts "TODO OCC26225 ALL: TEST INCOMPLETE"
|
||||
|
||||
|
||||
puts "========"
|
||||
puts "OCC26225"
|
||||
puts "========"
|
||||
|
@ -1,7 +1,6 @@
|
||||
puts "TODO OCC26225 ALL: Tcl Exception: compute of chamfer failed"
|
||||
puts "TODO OCC26225 ALL: compute of chamfer failed"
|
||||
puts "TODO OCC26225 ALL: TEST INCOMPLETE"
|
||||
|
||||
|
||||
puts "========"
|
||||
puts "OCC26225"
|
||||
puts "========"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
|
||||
puts "========"
|
||||
puts "OCC28150"
|
||||
puts "========"
|
||||
|
@ -1,3 +1,4 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
||||
|
||||
puts "================"
|
||||
|
@ -1,3 +1,4 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
||||
|
||||
puts "================"
|
||||
|
@ -1,3 +1,4 @@
|
||||
puts "TODO OCC12345 ALL: Meshing statuses: OpenWire SelfIntersectingWire Failure ReMesh"
|
||||
puts "TODO OCC12345 ALL: Error: Number of triangles"
|
||||
puts "TODO OCC12345 ALL: Error: Number of nodes"
|
||||
puts "TODO OCC12345 ALL: Error: Maximal deflection"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "REQUIRED All: Projection Failed"
|
||||
|
||||
puts "==========="
|
||||
puts " OCC308 "
|
||||
puts "==========="
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "REQUIRED All: Projection Failed"
|
||||
|
||||
puts "============"
|
||||
puts "OCC25892"
|
||||
puts "============"
|
||||
@ -11,6 +13,7 @@ restore [locate_data_file bug25892_f001] f
|
||||
|
||||
mksurface s f
|
||||
|
||||
# Projection should fail due to big distance between curve and surface
|
||||
catch {project cx c s}
|
||||
|
||||
#v2d2
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "REQUIRED All: Projection Failed"
|
||||
|
||||
puts "============"
|
||||
puts "OCC25892"
|
||||
puts "============"
|
||||
@ -11,6 +13,7 @@ restore [locate_data_file bug25892_f002] f
|
||||
|
||||
mksurface s f
|
||||
|
||||
# Projection should fail due to big distance between curve and surface
|
||||
catch {project cx c s}
|
||||
|
||||
#v2d2
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO CR26106 ALL: Meshing statuses: OpenWire Failure"
|
||||
|
||||
puts "============"
|
||||
puts "BUC60858"
|
||||
puts "============"
|
||||
|
@ -1,4 +1,5 @@
|
||||
puts "TODO OCC11111 ALL: Faulty OCC21970"
|
||||
puts "TODO OCC11111 ALL: Meshing statuses: Failure"
|
||||
puts "TODO OCC11111 ALL: Error : The command is not valid. The area is"
|
||||
puts "TODO OCC11111 ALL: Error : The area of result shape is 0"
|
||||
puts "TODO OCC11111 ALL: Error : is WRONG because number of"
|
||||
|
@ -1,3 +1,5 @@
|
||||
puts "TODO OCC22849 ALL: Meshing statuses: OpenWire Failure"
|
||||
|
||||
puts "============"
|
||||
puts "OCC22849"
|
||||
puts "============"
|
||||
|
@ -204,8 +204,8 @@ if !$Create_Doc {
|
||||
|
||||
|
||||
# Function
|
||||
if [catch {GetFunction D 0:1:1 fguid failure}] {puts "Error: Function not found"
|
||||
} elseif {$fguid != $test_guid || $failure != $test_failure} { puts "Error: invalid Function" }
|
||||
if [catch {GetFunction D 0:1:1 fguid failureNb}] {puts "Error: Function not found"
|
||||
} elseif {$fguid != $test_guid || $failureNb != $test_failure} { puts "Error: invalid Function" }
|
||||
|
||||
|
||||
# AISPresentation
|
||||
|
@ -1,5 +1,3 @@
|
||||
IGNORE /on screen buffer is used for image dump - content might be invalid/ reported when software Microsoft OpenGL driver is used (remote desktop)
|
||||
IGNORE /^\s*DPrsStd_AISColor\s*:\s*Error\b/ ignore presentation K2 error message
|
||||
FAILED /\binvalid\b/ error
|
||||
FAILED /\bFailed\b/ error
|
||||
FAILED /\bfailed\b/ error
|
||||
|
@ -9,5 +9,5 @@ if { [string compare $command chamf] == 0 } {
|
||||
puts "TODO OCC22909 All:Faulty shapes in variables faulty_1 to faulty_"
|
||||
}
|
||||
} else {
|
||||
puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 All: compute of chamfer failed"
|
||||
}
|
||||
|
@ -5,11 +5,11 @@ set chamf_dist_dist [list "0.03 0.04" "0.05 0.04" "0.05 0.02" "0.03 0.03" "0.05
|
||||
set chamf_equal_dist [list "0.03 " "0.05 " "0.05 " "0.03 " "0.05 " "0.03 " "0.03 " "0.03 " "0.05 " "0.06 " "0.02 " "0.03 " "0.04 " "0.05 " "0.05 " "0.04 " "0.03 "]
|
||||
if { [string compare $command chamf_sequence] == 0 } {
|
||||
if {[string compare $group dist_angle] == 0} {
|
||||
puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 All: compute of chamfer failed"
|
||||
puts "TODO OCC22909 All:Faulty shapes in variables faulty_1 to faulty_6"
|
||||
}
|
||||
if {[string compare $group dist_dist] == 0} {
|
||||
puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 All: compute of chamfer failed"
|
||||
}
|
||||
if {[string compare $group equal_dist] == 0} {
|
||||
puts "TODO OCC22909 All:Faulty shapes in variables faulty_1 to faulty_10"
|
||||
|
@ -5,17 +5,17 @@ set chamf_dist_dist [list "0.1 0.08" "0.12 0.08"]
|
||||
set chamf_equal_dist [list "0.1 " "0.2 "]
|
||||
if { [string compare $command chamf] == 0 } {
|
||||
if {[string compare $group dist_angle] == 0 || [string compare $group equal_dist] == 0} {
|
||||
puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 All: compute of chamfer failed"
|
||||
}
|
||||
} else {
|
||||
if {[string compare $group dist_angle] == 0} {
|
||||
puts "TODO OCC22909 MacOS: chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 MacOS: compute of chamfer failed"
|
||||
}
|
||||
if {[string compare $group dist_dist] == 0} {
|
||||
puts "TODO OCC22909 MacOS: chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 MacOS: compute of chamfer failed"
|
||||
}
|
||||
if {[string compare $group equal_dist] == 0} {
|
||||
puts "TODO OCC22909 ALL:Faulty shapes in variables faulty_1 to faulty_"
|
||||
puts "TODO OCC22909 MacOS: chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 MacOS: compute of chamfer failed"
|
||||
}
|
||||
}
|
||||
|
@ -5,17 +5,17 @@ set chamf_dist_dist [list " 0.1 0.2" " 0.1 0.2"]
|
||||
set chamf_equal_dist [list " 0.1 " "0.1 "]
|
||||
if { [string compare $command chamf] == 0 } {
|
||||
if {[string compare $group dist_angle] == 0 || [string compare $group dist_dist] == 0} {
|
||||
puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 All: compute of chamfer failed"
|
||||
}
|
||||
} else {
|
||||
if {[string compare $group dist_angle] == 0} {
|
||||
puts "TODO OCC22909 All:Faulty shapes in variables faulty_1 to faulty_"
|
||||
puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC24156 MacOS: compute of chamfer failed"
|
||||
}
|
||||
if {[string compare $group dist_dist] == 0} {
|
||||
puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC24156 MacOS: compute of chamfer failed"
|
||||
}
|
||||
if {[string compare $group equal_dist] == 0} {
|
||||
puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC24156 MacOS: compute of chamfer failed"
|
||||
}
|
||||
}
|
||||
|
@ -4,17 +4,17 @@ set chamf_dist_angle [list "0.1 30" "0.08 30"]
|
||||
set chamf_dist_dist [list "0.1 0.11" " 0.2 0.21"]
|
||||
set chamf_equal_dist [list "0.1 " " 0.2 "]
|
||||
if { [string compare $command chamf] == 0 } {
|
||||
puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 All: compute of chamfer failed"
|
||||
} else {
|
||||
if {[string compare $group dist_angle] == 0} {
|
||||
puts "TODO OCC22909 MacOS: chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 MacOS: compute of chamfer failed"
|
||||
} else {
|
||||
puts "TODO OCC22909 ALL:Faulty shapes in variables faulty_1 to faulty_"
|
||||
}
|
||||
if {[string compare $group dist_dist] == 0} {
|
||||
puts "TODO OCC22909 MacOS: chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 MacOS: compute of chamfer failed"
|
||||
}
|
||||
if {[string compare $group equal_dist] == 0} {
|
||||
puts "TODO OCC22909 MacOS: chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 MacOS: compute of chamfer failed"
|
||||
}
|
||||
}
|
||||
|
@ -4,5 +4,5 @@ set chamf_dist_angle [list " 0.1 30" " 0.1 30" " 0.1 30"]
|
||||
set chamf_dist_dist [list " 0.1 0.2" " 0.2 0.2" " 0.2 0.2"]
|
||||
set chamf_equal_dist [list "0.06 " "0.08 " "0.08 "]
|
||||
if { [string compare $command chamf_sequence] == 0 && [string compare $group dist_dist] == 0 } {
|
||||
puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 All: compute of chamfer failed"
|
||||
}
|
||||
|
@ -5,6 +5,6 @@ set chamf_dist_dist [list "0.01 0.006" "0.008 0.006" "0.01 0.012" "0.015 0.012"
|
||||
set chamf_equal_dist [list "0.01 " "0.008 " "0.01 " "0.015 " "0.01 " "0.008 " "0.01 " "0.008 "]
|
||||
if { [string compare $command chamf] == 0 } {
|
||||
if { [string compare $group equal_dist] != 0 } {
|
||||
puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 All: compute of chamfer failed"
|
||||
}
|
||||
}
|
||||
|
@ -4,5 +4,5 @@ set chamf_dist_angle [list ".08 30"]
|
||||
set chamf_dist_dist [list ".08 .06"]
|
||||
set chamf_equal_dist [list ".08 "]
|
||||
if { [string compare $group dist_angle] == 0 } {
|
||||
puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
|
||||
puts "TODO OCC22909 All: compute of chamfer failed"
|
||||
}
|
||||
|
106
tests/de/end
106
tests/de/end
@ -104,27 +104,44 @@ if { $mist < 1} {
|
||||
set tps_1 [tpstat c]
|
||||
set colvo [llength $tps_1]
|
||||
if { ${colvo} > 0 } {
|
||||
# Finding all strings with warnings
|
||||
set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+W:} $tps_1]
|
||||
# Extracting counts of warnings
|
||||
set b [regexp -all -inline {([-0-9.+eE]+)} $a]
|
||||
# Calculating total number of warnings
|
||||
foreach i $b {set war_First [expr $war_First + $i]}
|
||||
set war_First [expr $war_First/4]
|
||||
# Finding failed messages
|
||||
set err_list [regexp -all -inline {[^\r\n:]*failed[^\r\n]*} $tps_1]
|
||||
if { $err_list != 0 } {
|
||||
foreach err_msg $err_list {
|
||||
if { [regexp "\\(" $err_msg] } {
|
||||
set err_msg [string map {\( \\\\(} $err_msg]
|
||||
}
|
||||
if { [regexp "\\)" $err_msg] } {
|
||||
set err_msg [string map {\) \\\\)} $err_msg]
|
||||
}
|
||||
if { [regexp {transfer failed[^\r\n]*} $err_msg err_full_msg] } {
|
||||
set err_msg "$err_full_msg"
|
||||
}
|
||||
if { ![regexp "$err_msg" $todo_msg] } {
|
||||
append todo_msg $todo_mask $err_msg $end_line
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Finding all strings with faulties
|
||||
set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+F:} $tps_1]
|
||||
# Extracting counts of faulties
|
||||
set b [regexp -all -inline {([-0-9.+eE]+)} $a]
|
||||
# Calculating total number of faulties
|
||||
foreach i $b {set fal_First [expr $fal_First + $i]}
|
||||
set fal_First [expr $fal_First/4]
|
||||
# Calculating total number of faulties and warnings
|
||||
set comp_First [expr $fal_First + $war_First]
|
||||
|
||||
# Finding all strings with warnings
|
||||
set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+W:} $tps_1]
|
||||
# Extracting counts of warnings
|
||||
set b [regexp -all -inline {([-0-9.+eE]+)} $a]
|
||||
# Calculating total number of warnings
|
||||
foreach i $b {set war_First [expr $war_First + $i]}
|
||||
set war_First [expr $war_First/4]
|
||||
|
||||
# Finding all strings with faulties
|
||||
set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+F:} $tps_1]
|
||||
# Extracting counts of faulties
|
||||
set b [regexp -all -inline {([-0-9.+eE]+)} $a]
|
||||
# Calculating total number of faulties
|
||||
foreach i $b {set fal_First [expr $fal_First + $i]}
|
||||
set fal_First [expr $fal_First/4]
|
||||
# Calculating total number of faulties and warnings
|
||||
set comp_First [expr $fal_First + $war_First]
|
||||
} else {
|
||||
puts " TPSTAT c checking was NOT provided"
|
||||
puts " TPSTAT c checking was NOT provided"
|
||||
}
|
||||
|
||||
# Get DECAF information about (color, layers and properties)
|
||||
@ -288,27 +305,44 @@ if { $mist < 1} {
|
||||
set tps_1 [tpstat c]
|
||||
set colvo [llength $tps_1]
|
||||
if { ${colvo} > 0 } {
|
||||
# Finding all strings with warnings
|
||||
set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+W:} $tps_1]
|
||||
# Extracting counts of warnings
|
||||
set b [regexp -all -inline {([-0-9.+eE]+)} $a]
|
||||
# Calculating total number of warnings
|
||||
foreach i $b {set war_Second [expr $war_Second + $i]}
|
||||
set war_Second [expr $war_Second/4]
|
||||
# Finding failed messages
|
||||
set err_list [regexp -all -inline {[^\r\n:]*failed[^\r\n]*} $tps_1]
|
||||
if { $err_list != 0 } {
|
||||
foreach err_msg $err_list {
|
||||
if { [regexp "\\(" $err_msg] } {
|
||||
set err_msg [string map {\( \\\\(} $err_msg]
|
||||
}
|
||||
if { [regexp "\\)" $err_msg] } {
|
||||
set err_msg [string map {\) \\\\)} $err_msg]
|
||||
}
|
||||
if { [regexp {transfer failed[^\r\n]*} $err_msg err_full_msg] } {
|
||||
set err_msg "$err_full_msg"
|
||||
}
|
||||
if { ![regexp "$err_msg" $todo_msg] } {
|
||||
append todo_msg $todo_mask $err_msg $end_line
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Finding all strings with faulties
|
||||
set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+F:} $tps_1]
|
||||
# Extracting counts of faulties
|
||||
set b [regexp -all -inline {([-0-9.+eE]+)} $a]
|
||||
# Calculating total number of faulties
|
||||
foreach i $b {set fal_Second [expr $fal_Second + $i]}
|
||||
set fal_Second [expr $fal_Second/4]
|
||||
# Calculating total number of faulties and warnings
|
||||
set comp_Second [expr $fal_Second + $war_Second]
|
||||
|
||||
# Finding all strings with warnings
|
||||
set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+W:} $tps_1]
|
||||
# Extracting counts of warnings
|
||||
set b [regexp -all -inline {([-0-9.+eE]+)} $a]
|
||||
# Calculating total number of warnings
|
||||
foreach i $b {set war_Second [expr $war_Second + $i]}
|
||||
set war_Second [expr $war_Second/4]
|
||||
|
||||
# Finding all strings with faulties
|
||||
set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+F:} $tps_1]
|
||||
# Extracting counts of faulties
|
||||
set b [regexp -all -inline {([-0-9.+eE]+)} $a]
|
||||
# Calculating total number of faulties
|
||||
foreach i $b {set fal_Second [expr $fal_Second + $i]}
|
||||
set fal_Second [expr $fal_Second/4]
|
||||
# Calculating total number of faulties and warnings
|
||||
set comp_Second [expr $fal_Second + $war_Second]
|
||||
} else {
|
||||
puts " TPSTAT c checking was NOT provided"
|
||||
puts " TPSTAT c checking was NOT provided"
|
||||
}
|
||||
|
||||
# Get DECAF information about (color, layers and properties)
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: transfer failed : entity skipped."
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: transfer failed : entity skipped."
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: transfer failed : entity skipped."
|
||||
puts "TODO CR23096 ALL: LABELS : Faulty"
|
||||
puts "TODO CR23096 ALL: COLORS : Faulty"
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
|
||||
|
||||
set filename PRO7745.stp
|
||||
|
||||
set ref_data {
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: CHECKSHAPE : Faulty"
|
||||
puts "TODO CR23096 ALL: NBSHAPES : Faulty"
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
|
||||
|
||||
set filename cpe1.stp
|
||||
|
||||
set ref_data {
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
|
||||
|
||||
set filename war1.stp
|
||||
|
||||
set ref_data {
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
puts "TODO CR23096 ALL: STATSHAPE : Faulty"
|
||||
puts "TODO CR23096 ALL: LABELS : Faulty"
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: NBSHAPES : Faulty"
|
||||
puts "TODO CR23096 ALL: LABELS : Faulty"
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Make Geom_Curve \\(3D\\) failed"
|
||||
puts "TODO CR23096 ALL: At least one edge failed : wire not done"
|
||||
puts "TODO CR23096 ALL: NBSHAPES : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
|
||||
|
||||
set filename PRO7747.stp
|
||||
|
||||
set ref_data {
|
||||
|
@ -1,4 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
|
||||
|
||||
set filename coquille.stp
|
||||
|
||||
set ref_data {
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: STATSHAPE : Faulty"
|
||||
puts "TODO CR23096 ALL: TOLERANCE : Faulty"
|
||||
puts "TODO CR25013 ALL: Error : 3 differences with reference data found"
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: CHECKSHAPE : Faulty"
|
||||
puts "TODO CR23096 ALL: NBSHAPES : Faulty"
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
puts "TODO CR23096 ALL: LABELS : Faulty"
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: CHECKSHAPE : Faulty"
|
||||
puts "TODO CR23096 ALL: STATSHAPE : Faulty"
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
|
||||
|
||||
set filename CTS21491.stp
|
||||
|
||||
set ref_data {
|
||||
|
@ -1,4 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
|
||||
|
||||
set filename PRO10377.stp
|
||||
|
||||
set ref_data {
|
||||
|
@ -1,4 +1,5 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
puts "TODO CR23096 ALL: NBSHAPES : Faulty"
|
||||
puts "TODO CR23096 ALL: TPSTAT : Faulty"
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
|
||||
|
||||
|
||||
set filename PRO7656.stp
|
||||
|
||||
set ref_data {
|
||||
|
@ -1,8 +1,10 @@
|
||||
if {[string compare $command "ShapeDivide"] == 0 } {
|
||||
puts "TODO OCC23127 ALL: Status: FAIL2"
|
||||
puts "TODO OCC23127 ALL: Error: 12 Curve Only C0 after DT_ShapeDivide operation."
|
||||
}
|
||||
if {[string compare $command "SplitAngle"] == 0 } {
|
||||
puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_2 "
|
||||
puts "TODO OCC23127 ALL: Status: FAIL2"
|
||||
puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_2"
|
||||
}
|
||||
restore [locate_data_file ma-test9.rle] a
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
if {[string compare $command "ShapeConvertRev"] == 0 } {
|
||||
puts "TODO OCC23127 ALL: Error : The area of the resulting shape is "
|
||||
puts "TODO OCC23127 ALL: Error : The area of the resulting shape is"
|
||||
}
|
||||
if {[string compare $command "SplitAngle"] == 0 } {
|
||||
puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_2 "
|
||||
puts "TODO OCC23127 ALL: Status: FAIL2"
|
||||
puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_2"
|
||||
}
|
||||
restore [locate_data_file ma-test10.rle] a
|
||||
|
||||
|
@ -2,10 +2,12 @@ if { [string compare $command "ShapeConvertRev"] == 0 } {
|
||||
puts "TODO OCC23127 ALL: Error : The area of the resulting shape is"
|
||||
}
|
||||
if {[string compare $command "ShapeDivide"] == 0 } {
|
||||
puts "TODO OCC23127 ALL: Status: FAIL2"
|
||||
puts "TODO OCC23127 ALL: Error: 12 Curve Only C0 after DT_ShapeDivide operation."
|
||||
}
|
||||
if {[string compare $command "SplitAngle"] == 0 } {
|
||||
puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_2 "
|
||||
puts "TODO OCC23127 ALL: Status: FAIL2"
|
||||
puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_2"
|
||||
}
|
||||
restore [locate_data_file ma-test11.rle] a
|
||||
|
||||
|
@ -8,3 +8,6 @@ if { [string compare $command "shading"] == 0 } {
|
||||
} else {
|
||||
set rel_tol 0.21
|
||||
}
|
||||
if { [string compare $command "incmesh"] == 0 } {
|
||||
puts "TODO OCC22687 ALL: Meshing statuses: Failure"
|
||||
}
|
@ -8,4 +8,6 @@ if { [string compare $command "shading"] == 0 } {
|
||||
set bug_withouttri "OCC23105"
|
||||
set nbwithouttri(All) 1
|
||||
}
|
||||
|
||||
if { [string compare $command "incmesh"] == 0 } {
|
||||
puts "TODO OCC22687 ALL: Meshing statuses: Failure"
|
||||
}
|
||||
|
@ -1,3 +1,6 @@
|
||||
set TheFileName shading_wrongshape_017.brep
|
||||
set bug_withouttri "OCC22687"
|
||||
set nbwithouttri(All) 1
|
||||
if { [string compare $command "incmesh"] == 0 } {
|
||||
puts "TODO OCC22687 ALL: Meshing statuses: Failure"
|
||||
}
|
||||
|
@ -3,4 +3,7 @@ IGNORE /Tcl Exception: [*][*] Exception [*][*]/ duplicate report on exception on
|
||||
IGNORE /Relative error of mass computation :/ diagnostic message of *props* commands
|
||||
FAILED /\b[Ee]xception\b/ exception
|
||||
FAILED /\b[Ee][Rr][Rr][Oo][Rr]\b/ error
|
||||
FAILED /\b[Ff][Aa][Ii][Ll][0-9]\b/ error
|
||||
FAILED /\b[Ff][Aa][Ii][Ll][Ee][Dd]\b/ error
|
||||
FAILED /\b[Ff][Aa][Ii][Ll][Uu][Rr][Ee]\b/ error
|
||||
FAILED /Process killed by CPU limit/ Killed by CPU limit
|
||||
|
@ -1,3 +1,4 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
puts "TODO OCC11111 ALL: Error : is WRONG because number of "
|
||||
|
||||
puts "============"
|
||||
|
@ -1,3 +1,4 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
puts "TODO OCC11111 ALL: Error : is WRONG because number of "
|
||||
|
||||
puts "============"
|
||||
|
@ -1,4 +1,6 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
puts "TODO OCC11111 ALL: Error : is WRONG because number of "
|
||||
|
||||
puts "============"
|
||||
puts "OCC10160"
|
||||
puts "============"
|
||||
|
@ -1,4 +1,6 @@
|
||||
puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
|
||||
puts "TODO OCC11111 ALL: Error : is WRONG because number of "
|
||||
|
||||
puts "============"
|
||||
puts "OCC10160"
|
||||
puts "============"
|
||||
|
Loading…
x
Reference in New Issue
Block a user