9 restore [locate_data_file CTO900_ger60239a.rle] a
10 set che [checkshape a]
11 if { [regexp {Faulty} $che ] == 1 } {
12 puts "Faulty OCC452 (shape 5): Source shape is invalid. It was detected by Checkshape command"
14 puts "OCC452 OK (shape 5): Source shape is valid"
17 restore [locate_data_file CTO900_ger60239b.rle] b
18 set che [checkshape b]
19 if { [regexp {Faulty} $che ] == 1 } {
20 puts "Faulty OCC452 (shape 6): Source shape is invalid. It was detected by Checkshape command"
22 puts "OCC452 OK (shape 6): Source shape is valid"
32 set q2 [ dchrono h2 show ]
33 regexp {CPU user time: ([-0-9.+eE]+) seconds} $q2 full z2
36 puts "Elapsed time is more then 50 seconds - Faulty"
38 puts "Elapsed time is less then 50 seconds - OK"
40 checkprops result -s 3468.6
42 checkview -display result -2d -path ${imagedir}/${test_image}.png