0023618: Some tests get killed just because of wrong cpulimit setting
[occt.git] / tests / bugs / modalg / bug399
1 if { [array get env os_type] != "" } {
2     set os $env(os_type)
3 }
4 if { [string compare $os "windows"] != 0 } {
5    puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_2"
6    puts "TODO OCC12345 ALL: Faulty OCC399: Command checkshape works wrongly: Source shape is invalid but this shape must be OK"
7    puts "TODO OCC12345 ALL: Error : The square of result shape is"
8 }
9
10 puts "========"
11 puts "OCC399"
12 puts "========"
13 puts ""
14 #########################################
15 ## Checkshape gives wrong result for valid face 
16 #########################################
17
18 restore [locate_data_file OCC399.brep] result
19
20 set che [checkshape result]
21 if { [regexp {Faulty} $che ] == 1 } {
22     puts "Faulty OCC399: Command checkshape works wrongly: Source shape is invalid but this shape must be OK"
23 } else {
24     puts "OCC399 OK : Source shape is valid. Command checkshape works properly."
25 }
26
27 set square 4558.53
28 set 2dviewer 0