summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-11-27 23:06:18 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-11-27 23:06:18 -0800
commit7383bd393eb36b67f308b643d1ce02b53ebb255d (patch)
treee22f27fb2c488bf8dd7da91b769527ec81e6a449 /.travis.yml
parentf8ffb005c8780c786c7b0adc3ff5e314d410bbee (diff)
downloadspack-7383bd393eb36b67f308b643d1ce02b53ebb255d.tar.gz
spack-7383bd393eb36b67f308b643d1ce02b53ebb255d.tar.bz2
spack-7383bd393eb36b67f308b643d1ce02b53ebb255d.tar.xz
spack-7383bd393eb36b67f308b643d1ce02b53ebb255d.zip
Fixed bug #42: problem with satisfies() for virtual dependencies.
- _cross_provider_maps() had suffered some bit rot (map returned was ill-formed but still worked for cases with one vdep) - ProviderIndex.satisfies() was only checking whether the result map was non-empty. It should check whether all common vdeps are *in* the result map, as that indicates there is *some* way to satisfy *all* of them. We were checking whether there was some way to satisfy *any one* of them, which is wrong. - Above would cause a problem when there is more than one vdep provider. - Added test that covers this case. - Added `constrained()` method to Spec. Analogous to `normalized()`: `constrain():constrained() :: normalize():normalized()`
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions