0028324: Configuration, genproj.tcl - compilation error while targeting OS X 10.8...
[occt.git] / tests / bugs / modalg_6 / bug27569
CommitLineData
67285996 1puts "============"
2puts "OCC27569"
3puts "============"
4puts ""
5######################################################
6# [Regression in 6.9.0] Projecting a curve hangs
7######################################################
8
9pload QAcommands
10
11restore [locate_data_file bug27569.brep] aS
12explode aS
13mkcurve c aS_1
14mksurface s aS_2
15
16# Performance check
17chrono h reset; chrono h start
18OCC24008 c s;
19chrono h stop; set q [dchrono h show]
20regexp {CPU user time: ([-0-9.+eE]+) seconds} $q full aTime
21
22set MAX_TIME 1.0
23
24if { $aTime > ${MAX_TIME} } {
25 puts "Elapsed time is more than ${MAX_TIME} seconds - Faulty"
26} else {
27 puts "Elapsed time is less than ${MAX_TIME} seconds - OK"
28}