mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
Modified CPU limit in test cases inDebug mode.
This commit is contained in:
parent
0c67424831
commit
f49c31097c
@ -2,6 +2,8 @@
|
|||||||
puts "TODO #22911 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
puts "TODO #22911 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
||||||
puts "TODO #22911 ALL: Error : The area of the resulting shape is"
|
puts "TODO #22911 ALL: Error : The area of the resulting shape is"
|
||||||
|
|
||||||
|
cpulimit 1500
|
||||||
|
|
||||||
restore [locate_data_file CTO909_Bug3_Tr_obj.rle] a
|
restore [locate_data_file CTO909_Bug3_Tr_obj.rle] a
|
||||||
restore [locate_data_file Bug4_Tr_outil.rle] b
|
restore [locate_data_file Bug4_Tr_outil.rle] b
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
cpulimit 1500
|
||||||
|
|
||||||
restore [locate_data_file lh3d_px1.brep] a
|
restore [locate_data_file lh3d_px1.brep] a
|
||||||
|
|
||||||
#removing intersection of faces a_3 and a_220
|
#removing intersection of faces a_3 and a_220
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#puts "TODO #23749 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
#puts "TODO #23749 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
||||||
|
|
||||||
cpulimit 4000
|
cpulimit 4500
|
||||||
|
|
||||||
restore [locate_data_file lh3d_px2.brep] a
|
restore [locate_data_file lh3d_px2.brep] a
|
||||||
compound result
|
compound result
|
||||||
|
@ -6,6 +6,8 @@ puts ""
|
|||||||
# Cannot project point on curve
|
# Cannot project point on curve
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
cpulimit 1500
|
||||||
|
|
||||||
bsplinecurve r3 2 6 1 3 2 1 3 1 4 1 5 1 6 3 2 5 3 1 3 7 3 1 4 8 3 1 4 8 3 1 4 8 3 1 5 9 3 1 9 7 3 1
|
bsplinecurve r3 2 6 1 3 2 1 3 1 4 1 5 1 6 3 2 5 3 1 3 7 3 1 4 8 3 1 4 8 3 1 4 8 3 1 5 9 3 1 9 7 3 1
|
||||||
bsplinecurve r4 2 6 2 3 2.5 1 3 1 3.5 1 4 1 4.5 3 -1 2 3 1 1 11 3 1 3 9 3 1 3 9 3 1 3 9 3 1 5 7 3 1 7 4 3 1
|
bsplinecurve r4 2 6 2 3 2.5 1 3 1 3.5 1 4 1 4.5 3 -1 2 3 1 1 11 3 1 3 9 3 1 3 9 3 1 3 9 3 1 5 7 3 1 7 4 3 1
|
||||||
extrema r3 r4
|
extrema r3 r4
|
||||||
|
@ -6,6 +6,8 @@ puts ""
|
|||||||
# Cannot project point on curve
|
# Cannot project point on curve
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
cpulimit 1500
|
||||||
|
|
||||||
2dbsplinecurve b3 2 6 1 3 2 1 3 1 4 1 5 1 6 3 2 5 1 3 7 1 4 8 1 4 8 1 4 8 1 5 9 1 9 7 1
|
2dbsplinecurve b3 2 6 1 3 2 1 3 1 4 1 5 1 6 3 2 5 1 3 7 1 4 8 1 4 8 1 4 8 1 5 9 1 9 7 1
|
||||||
2dbsplinecurve b4 2 6 2 3 2.5 1 3 1 3.5 1 4 1 4.5 3 -1 2 1 1 11 1 3 9 1 3 9 1 3 9 1 5 7 1 7 4 1
|
2dbsplinecurve b4 2 6 2 3 2.5 1 3 1 3.5 1 4 1 4.5 3 -1 2 1 1 11 1 3 9 1 3 9 1 3 9 1 5 7 1 7 4 1
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@ puts ""
|
|||||||
# Section of shell by plane is incomplete
|
# Section of shell by plane is incomplete
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
cpulimit 2000
|
||||||
|
|
||||||
pload DATAEXCHANGEKERNEL
|
pload DATAEXCHANGEKERNEL
|
||||||
|
|
||||||
# shell
|
# shell
|
||||||
|
@ -17,7 +17,12 @@ bfillds
|
|||||||
|
|
||||||
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
||||||
|
|
||||||
if { $tps_time > 60 } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
|
set check_time 110
|
||||||
|
} else {
|
||||||
|
set check_time 87
|
||||||
|
}
|
||||||
|
if { $tps_time > $check_time } {
|
||||||
puts "Error: low performance"
|
puts "Error: low performance"
|
||||||
} else {
|
} else {
|
||||||
puts "OK: high performance"
|
puts "OK: high performance"
|
||||||
|
@ -20,7 +20,12 @@ bfillds
|
|||||||
|
|
||||||
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
||||||
|
|
||||||
if { $tps_time > 200 } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
|
set check_time 460
|
||||||
|
} else {
|
||||||
|
set check_time 378
|
||||||
|
}
|
||||||
|
if { $tps_time > $check_time } {
|
||||||
puts "Error: low performance"
|
puts "Error: low performance"
|
||||||
} else {
|
} else {
|
||||||
puts "OK: high performance"
|
puts "OK: high performance"
|
||||||
|
@ -14,7 +14,12 @@ bfillds
|
|||||||
|
|
||||||
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
||||||
|
|
||||||
if { $tps_time > 15 } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
|
set check_time 30
|
||||||
|
} else {
|
||||||
|
set check_time 16
|
||||||
|
}
|
||||||
|
if { $tps_time > $check_time } {
|
||||||
puts "Error: low performance"
|
puts "Error: low performance"
|
||||||
} else {
|
} else {
|
||||||
puts "OK: high performance"
|
puts "OK: high performance"
|
||||||
|
@ -59,7 +59,12 @@ bfillds
|
|||||||
|
|
||||||
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
||||||
|
|
||||||
if { $tps_time > 30 } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
|
set check_time 30
|
||||||
|
} else {
|
||||||
|
set check_time 43
|
||||||
|
}
|
||||||
|
if { $tps_time > $check_time } {
|
||||||
puts "Error: low performance"
|
puts "Error: low performance"
|
||||||
} else {
|
} else {
|
||||||
puts "OK: high performance"
|
puts "OK: high performance"
|
||||||
|
@ -63,10 +63,14 @@ baddobjects b1
|
|||||||
baddcompound b2
|
baddcompound b2
|
||||||
bfillds
|
bfillds
|
||||||
|
|
||||||
bbuild result -t
|
|
||||||
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
||||||
|
|
||||||
if { $tps_time > 100 } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
|
set check_time 30
|
||||||
|
} else {
|
||||||
|
set check_time 913
|
||||||
|
}
|
||||||
|
if { $tps_time > $check_time } {
|
||||||
puts "Error: low performance"
|
puts "Error: low performance"
|
||||||
} else {
|
} else {
|
||||||
puts "OK: high performance"
|
puts "OK: high performance"
|
||||||
|
@ -43,7 +43,12 @@ bfillds
|
|||||||
|
|
||||||
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
||||||
|
|
||||||
if { $tps_time > 10 } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
|
set check_time 20
|
||||||
|
} else {
|
||||||
|
set check_time 24
|
||||||
|
}
|
||||||
|
if { $tps_time > $check_time } {
|
||||||
puts "Error: low performance"
|
puts "Error: low performance"
|
||||||
} else {
|
} else {
|
||||||
puts "OK: high performance"
|
puts "OK: high performance"
|
||||||
|
@ -43,7 +43,12 @@ bfillds
|
|||||||
|
|
||||||
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
||||||
|
|
||||||
if { $tps_time > 100 } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
|
set check_time 90
|
||||||
|
} else {
|
||||||
|
set check_time 135
|
||||||
|
}
|
||||||
|
if { $tps_time > $check_time } {
|
||||||
puts "Error: low performance"
|
puts "Error: low performance"
|
||||||
} else {
|
} else {
|
||||||
puts "OK: high performance"
|
puts "OK: high performance"
|
||||||
|
@ -44,7 +44,12 @@ bfillds -t
|
|||||||
|
|
||||||
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
||||||
|
|
||||||
if { $tps_time > 9.5 } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
|
set check_time 25
|
||||||
|
} else {
|
||||||
|
set check_time 2.2
|
||||||
|
}
|
||||||
|
if { $tps_time > $check_time } {
|
||||||
puts "Error: low performance"
|
puts "Error: low performance"
|
||||||
} else {
|
} else {
|
||||||
puts "OK: high performance"
|
puts "OK: high performance"
|
||||||
|
@ -24,7 +24,12 @@ bfillds
|
|||||||
|
|
||||||
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
|
||||||
|
|
||||||
if { $tps_time > 85.7 } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
|
set check_time 220
|
||||||
|
} else {
|
||||||
|
set check_time 16
|
||||||
|
}
|
||||||
|
if { $tps_time > $check_time } {
|
||||||
puts "Error: low performance"
|
puts "Error: low performance"
|
||||||
} else {
|
} else {
|
||||||
puts "OK: high performance"
|
puts "OK: high performance"
|
||||||
|
@ -6,7 +6,7 @@ puts ""
|
|||||||
# Exception raised during topological operation.
|
# Exception raised during topological operation.
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
cpulimit 2500
|
cpulimit 4000
|
||||||
|
|
||||||
restore [locate_data_file bug24190_itz.brep] b
|
restore [locate_data_file bug24190_itz.brep] b
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ puts ""
|
|||||||
##############################################################
|
##############################################################
|
||||||
|
|
||||||
if { [regexp {Debug mode} [dversion]] } {
|
if { [regexp {Debug mode} [dversion]] } {
|
||||||
cpulimit 2000
|
cpulimit 3000
|
||||||
}
|
}
|
||||||
|
|
||||||
# drill parameters (some terms taken from http://www.drill-bits.cn/drill-bits-quality.asp)
|
# drill parameters (some terms taken from http://www.drill-bits.cn/drill-bits-quality.asp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user