| 1 |
#%Module |
| 2 |
if {[info exists env(TESTSUITE_REQUIRE_VIA)]} { |
| 3 |
switch -- $env(TESTSUITE_REQUIRE_VIA) { |
| 4 |
multi_mod_in_path_with_req1 - multi_mod_in_path_with_req_some_hidden1 -\ |
| 5 |
req_not_anymore_does_not_exist - req_not_anymore_still_exists -\ |
| 6 |
req_another_not_loaded - prereq_on_via1 - tag_before_not_after -\ |
| 7 |
tag_after_not_before - tag_before_and_after - keep_loaded_before_not_after -\ |
| 8 |
keep_loaded_after_not_before - keep_loaded_before_and_after -\ |
| 9 |
sticky_before_not_after - sticky_after_not_before - sticky_before_and_after -\ |
| 10 |
sticky_before_no_module_after - super_sticky_before_not_after -\ |
| 11 |
super_sticky_after_not_before - super_sticky_before_and_after -\ |
| 12 |
super_sticky_before_no_module_after - virtual_before_and_after -\ |
| 13 |
virtual_before_not_after { |
| 14 |
prereq modb/1 |
| 15 |
} |
| 16 |
multi_mod_in_path_with_req_unk_variant_name { |
| 17 |
if {![is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 18 |
variant foo val1 val2 val3 |
| 19 |
} |
| 20 |
} |
| 21 |
multi_mod_in_path_with_req_unk_variant_val { |
| 22 |
if {![is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 23 |
variant foo val1 val2 val3 |
| 24 |
} else { |
| 25 |
variant foo val2 val3 |
| 26 |
} |
| 27 |
} |
| 28 |
conflict_in_new1 { |
| 29 |
if {[is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 30 |
conflict othervic |
| 31 |
} |
| 32 |
} |
| 33 |
conflict_not_anymore1 { |
| 34 |
if {![is-used $env(TESTSUITEDIR)/modulefiles.other2]} { |
| 35 |
conflict othervic |
| 36 |
} |
| 37 |
} |
| 38 |
} |
| 39 |
} |