OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [tests/] [cleanup/] [cleanup.tcl] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# cleanup.tcl --
2
#
3
#       This program tests whether whether there is any garbage left
4
#       after all the test files are executed. If so, either Tix has
5
#       resource leak or the test suite doesn't clean up properly.
6
#       
7
# Copyright (c) 1996, Expert Interface Technologies
8
#
9
# See the file "license.terms" for information on usage and redistribution
10
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
11
#
12
 
13
proc About {} {
14
    return "Testing resource leaks"
15
}
16
 
17
proc Test {} {
18
    global testConfig
19
 
20
    if {$testConfig(VERBOSE) >= 20} {
21
        foreach image [image names] {
22
            puts "Warning: \[resource leak\] image $image of type [image type $image]"
23
            foreach option [$image configure] {
24
                puts "  $option"
25
            }
26
        }
27
    }
28
}

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.