0027691: Remove dchrono from all test cases and move its to perf group
[occt.git] / tests / perf / caf / bug1726
CommitLineData
61c421bf 1puts "================"
2puts "OCC1726"
3puts "================"
4puts ""
5#######################################################################################
6# TDF_LabelNode::~TDF_LabelNode causes stack overflow
7#######################################################################################
8
9puts "Info: Open the document with 80000 sublabels of the label 0:2"
44fae8b1 10dchrono h restart
e837410d 11Open [locate_data_file OCC1726.cbf] D
44fae8b1 12dchrono h stop counter OpenCbf
61c421bf 13
61c421bf 14puts "Info: Close the document"
44fae8b1 15dchrono h restart
61c421bf 16if [catch {Close D} result] {
61c421bf 17 puts "Faulty OCC1726"
18} else {
19 puts "OK OCC1726"
20}
44fae8b1 21dchrono h stop counter CloseDoc