| 1 |
#%Module |
| 2 |
if {[info exists env(TESTSUITE_REQUIRE_VIA)]} { |
| 3 |
switch -- $env(TESTSUITE_REQUIRE_VIA) { |
| 4 |
indirect_opt_req1 { |
| 5 |
prereq --optional reqb/1 |
| 6 |
} |
| 7 |
indirect_req1 { |
| 8 |
prereq reqb/1 |
| 9 |
} |
| 10 |
indirect_conflict1 { |
| 11 |
conflict reqb |
| 12 |
} |
| 13 |
} |
| 14 |
} |
| 15 |
if {[info exists env(TESTSUITE_PROVIDE)]} { |
| 16 |
switch -- $env(TESTSUITE_PROVIDE) { |
| 17 |
duplicate_with_ext { |
| 18 |
prereq foo/1 |
| 19 |
} |
| 20 |
duplicate_with_ext_module { |
| 21 |
prereq bar/1 |
| 22 |
} |
| 23 |
duplicate_with_ext_family - duplicate_with_ext_same_alias -\ |
| 24 |
duplicate_with_ext_diff_alias { |
| 25 |
prereq foo |
| 26 |
} |
| 27 |
duplicate_with_ext_same_version - duplicate_with_ext_diff_version { |
| 28 |
prereq provide/foo |
| 29 |
} |
| 30 |
} |
| 31 |
} |