0032155: Tests - remove broken command OCC280
[occt.git] / tests / bugs / vis / bug79
1 puts "========"
2 puts "OCC79"
3 puts "========"
4
5 # disable VBO to avoid false memory leaks reported
6 # on NVidia graphics, see issue #29996
7 vcaps -vbo 0
8
9 vinit
10 restore [locate_data_file OCC162.brep] s
11 vdisplay s
12
13 set listmem {}
14 set i_max 10
15 for {set i 1} {${i} <= ${i_max}} {incr i} {
16     verase s
17     vdisplay s
18
19     lappend listmem [meminfo h]
20     checktrend $listmem 0 1 "Memory leak detected"
21 }