5 ###############################
6 ## Command "bsection" in Test Harness with flag build pcurve on second shape works slowly.
7 ###############################
9 restore [locate_data_file bug25019_a_shape_1.brep] a1
10 restore [locate_data_file bug25019_prism.brep] p1
16 bsection r a1 p1 -n2d2
19 set q1 [dchrono h1 show]
28 set q2 [dchrono h2 show]
31 regexp {CPU user time: ([-0-9.+eE]+) seconds} $q1 full t1
33 if { [checkplatform -windows] } {
34 puts "OS = Windows NT"
40 if { $t1 > ${max_time1} } {
41 puts "Elapsed time is more than ${max_time1} seconds - Faulty"
43 puts "Elapsed time is less than ${max_time1} seconds - OK"
47 regexp {CPU user time: ([-0-9.+eE]+) seconds} $q2 full t2
49 if { [checkplatform -windows] } {
50 puts "OS = Windows NT"
56 if { $t2 > ${max_time2} } {
57 puts "Elapsed time is more than ${max_time2} seconds - Faulty"
59 puts "Elapsed time is less than ${max_time2} seconds - OK"