testsuite/etc/modulerc.label
raw| 1 | #%Module |
| 2 | module-alias label/alias label/1.0 |
| 3 | if {[info exists env(TESTSUITE_MODULEPATH_LABEL)]} { |
| 4 | switch -- $env(TESTSUITE_MODULEPATH_LABEL) { |
| 5 | rc1 { |
| 6 | modulepath-label $env(TESTSUITEDIR)/modulefiles.4 {My label} |
| 7 | } |
| 8 | rc2 { |
| 9 | modulepath-label . {My label} |
| 10 | } |
| 11 | rc3 { |
| 12 | modulepath-label {global/user modulerc} {My label} |
| 13 | } |
| 14 | dup3 - dup4 - dup5 { |
| 15 | modulepath-label $env(TESTSUITEDIR)/modulefiles.4 {Global rc label} |
| 16 | } |
| 17 | } |
| 18 | } |