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