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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
#%Module
if {[info exists env(TESTSUITE_HIDE_AUTO_LOADED)]} {
switch -- $env(TESTSUITE_HIDE_AUTO_LOADED) {
load_vr1 {
variant bar 0 1 2
}
}
}
if {[info exists env(TESTSUITE_LOGGER)]} {
switch -- $env(TESTSUITE_LOGGER) {
load_dep_and_alias - dep_break - dep_unk - logger_cmd_out_msg - logger_cmd_err_msg -\
logger_cmd_exit_code - logger_cmd_crash - logger_cmd_silent_crash {
module-whatis [module-info name]
set-alias albar bar
module load foo/1.0
}
load_dep_and_break {
module load foo/1.0
break
}
load_dep_and_unk {
module load foo/1.0
unk
}
}
}
if {[info exists env(TESTSUITE_CONFLICT_UNLOAD)]} {
switch -- $env(TESTSUITE_CONFLICT_UNLOAD) {
urequn_of_conun_is_direct_reqlo1 - urequn_of_conun_is_direct_reqlo2 -\
urequn_of_conun_is_indirect_reqlo1 {
module load foo/1.0
}
depun_of_conun_is_reqlo1 - depun_of_conun_is_reqlo2 {
module load conun/1
}
depre_of_conun_is_reqlo1 - depre_of_conun_is_reqlo2 -\
depre_of_conun_is_conflict_of_reqlo1 {
conflict conun/1
}
depre_of_conun_is_reqlo_unload_break1 {
conflict conun/1
if {[module-info mode unload]} {
break
}
}
depun_of_conun_is_sticky1 - depun_of_conun_is_super_sticky1 {
conflict bar
module load conun
}
}
}
if {[info exists env(TESTSUITE_LOADABLE_DEPRE)]} {
switch -- $env(TESTSUITE_LOADABLE_DEPRE) {
conflict_with_variant - prereq_with_variant_or_and -\
sticky_as_extra_tag {
variant --default val1 var val1 val2 val3
conflict bar
}
}
}
if {[info exists env(TESTSUITE_PROVIDE)]} {
switch -- $env(TESTSUITE_PROVIDE) {
duplicate_with_ext {
provide foo/1
}
duplicate_with_ext_family {
family foo
}
duplicate_with_ext_family2 {
family quux
}
}
}
|