| 1 |
#%Module |
| 2 |
if {[info exists env(TESTSUITE_REQUIRE_VIA)]} { |
| 3 |
switch -- $env(TESTSUITE_REQUIRE_VIA) { |
| 4 |
multi_mod_in_path_with_req_some_hidden1 - req_not_anymore_does_not_exist { |
| 5 |
module-hide --hard othervib/1 |
| 6 |
} |
| 7 |
tag_before_not_after { |
| 8 |
if {![is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 9 |
module-tag foo othervib/1 |
| 10 |
} |
| 11 |
} |
| 12 |
tag_after_not_before { |
| 13 |
if {[is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 14 |
module-tag foo othervib/1 |
| 15 |
} |
| 16 |
} |
| 17 |
tag_before_and_after { |
| 18 |
module-tag foo othervib/1 |
| 19 |
} |
| 20 |
tag_before_no_module_after { |
| 21 |
if {![is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 22 |
module-tag foo othervib/1 |
| 23 |
} else { |
| 24 |
module-hide --hard othervib/1 |
| 25 |
} |
| 26 |
} |
| 27 |
sticky_before_not_after { |
| 28 |
if {![is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 29 |
module-tag sticky othervib/1 |
| 30 |
} |
| 31 |
} |
| 32 |
sticky_after_not_before { |
| 33 |
if {[is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 34 |
module-tag sticky othervib/1 |
| 35 |
} |
| 36 |
} |
| 37 |
sticky_before_and_after { |
| 38 |
module-tag sticky othervib/1 |
| 39 |
} |
| 40 |
sticky_before_no_module_after { |
| 41 |
if {![is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 42 |
module-tag sticky othervib/1 |
| 43 |
} else { |
| 44 |
module-hide --hard othervib/1 |
| 45 |
} |
| 46 |
} |
| 47 |
super_sticky_before_not_after { |
| 48 |
if {![is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 49 |
module-tag super-sticky othervib/1 |
| 50 |
} |
| 51 |
} |
| 52 |
super_sticky_after_not_before { |
| 53 |
if {[is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 54 |
module-tag super-sticky othervib/1 |
| 55 |
} |
| 56 |
} |
| 57 |
super_sticky_before_and_after { |
| 58 |
module-tag super-sticky othervib/1 |
| 59 |
} |
| 60 |
super_sticky_before_no_module_after { |
| 61 |
if {![is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 62 |
module-tag super-sticky othervib/1 |
| 63 |
} else { |
| 64 |
module-hide --hard othervib/1 |
| 65 |
} |
| 66 |
} |
| 67 |
} |
| 68 |
} |