File: 2.0

package info (click to toggle)
modules 5.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,036 kB
  • sloc: exp: 79,659; sh: 6,142; tcl: 5,900; makefile: 1,493; ansic: 474; python: 265; csh: 202; perl: 47; ruby: 44; lisp: 13
file content (34 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#%Module
if {[info exists env(TESTSUITE_TRYLOAD)]} {
    switch -- $env(TESTSUITE_TRYLOAD) {
        unk1 {
            module try-load unk/1.0
        }
        regular1 {
            module try-add tryload/1.0
        }
        hide1 - forbid1 - break1 - bad1 - subload1 - subload2 {
            module try-load tryload/1.0
        }
        catch1 {
            catch {module try-add unk/1.0}
        }
        catch2 - catch3 - catch4 {
            catch {module try-add tryload/1.0}
        }
        multi1 {
            module try-load unk/1.0 tryload/1.0
        }
        multi2 {
            module try-load tryload/1.0 foo/1.0
        }
        multi3 {
            module try-load tryload/1.0 foo/1.0
            if {![is-loaded foo/1.0]} {
                break
            }
        }
    } 
}

setenv TS1 ok