0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_2 / bug452_2
CommitLineData
a87752f3 1
2puts "========"
3puts "GER60239"
4puts "OCC452"
5puts "(case 2)"
6puts "========"
7puts ""
8
9restore [locate_data_file mds-part1.rle] a
10set che [checkshape a]
11if { [regexp {Faulty} $che ] == 1 } {
12 puts "Faulty OCC452 (shape 1): Source shape is invalid. It was detected by Checkshape command"
13} else {
14 puts "OCC452 OK (shape 1): Source shape is valid"
15}
16
17restore [locate_data_file mds-part2.rle] b
18set che [checkshape b]
19if { [regexp {Faulty} $che ] == 1 } {
20 puts "Faulty OCC452 (shape 2): Source shape is invalid. It was detected by Checkshape command"
21} else {
22 puts "OCC452 OK (shape 2): Source shape is valid"
23}
24
25restore [locate_data_file CTO900_ger60239a.rle] c
26set che [checkshape c]
27if { [regexp {Faulty} $che ] == 1 } {
28 puts "Faulty OCC452 (shape 3): Source shape is invalid. It was detected by Checkshape command"
29} else {
30 puts "OCC452 OK (shape 3): Source shape is valid"
31}
32
33restore [locate_data_file CTO900_ger60239b.rle] d
34set che [checkshape d]
35if { [regexp {Faulty} $che ] == 1 } {
36 puts "Faulty OCC452 (shape 4): Source shape is invalid. It was detected by Checkshape command"
37} else {
38 puts "OCC452 OK (shape 4): Source shape is valid"
39}
40dchrono h2 reset
41dchrono h2 start
42
43bfuse r a b
44#checkshape r
45
46bfuse result c d
47
48dchrono h2 stop
49set q2 [ dchrono h2 show ]
50regexp {CPU user time: ([-0-9.+eE]+) seconds} $q2 full z2
51puts "$z2"
52if { $z2 > 60 } {
53 puts "Elapsed time is more then 60 seconds - Faulty"
54} else {
55 puts "Elapsed time is less then 60 seconds - OK"
56}
58cf74e0 57checkprops result -s 3468.6
58checkshape result
5747059b 59checkview -display result -2d -path ${imagedir}/${test_image}.png