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

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [insight/] [tix/] [tests/] [load/] [general.tcl] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# This file tests the pixmap image reader
2
#
3
 
4
proc About {} {
5
    return "This file performs general test on Tix w/ Tk 4.1 dynamic loading"
6
}
7
 
8
proc Test {} {
9
    if [tixStrEq [info commands tix] tix] {
10
        return
11
    }
12
 
13
    if ![file exists ../../unix-tk4.1/libtix.so] {
14
        puts "File ../../unix-tk4.1/libtix.so doesn't exist."
15
        puts "Dynamic loading skipped."
16
        return
17
    }
18
 
19
    test {load ../../unix-tk4.1/libtix.so Tix}
20
    test {tixComboBox .c}
21
    test {pack .c}
22
}

powered by: WebSVN 2.1.0

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