summaryrefslogtreecommitdiff
path: root/bin/spack-python
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-07-22 16:15:37 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2018-07-25 23:10:10 -0700
commit020c34e13665c508d5afe13da52042d791d22367 (patch)
tree041246e7575f7cc6dfbb0652842e7d00541bda6a /bin/spack-python
parent6f7eaecfa0ee0a6bbe5652c9c1d5cc6c367b799a (diff)
downloadspack-020c34e13665c508d5afe13da52042d791d22367.tar.gz
spack-020c34e13665c508d5afe13da52042d791d22367.tar.bz2
spack-020c34e13665c508d5afe13da52042d791d22367.tar.xz
spack-020c34e13665c508d5afe13da52042d791d22367.zip
tests: add checks and tests for consistent version() arguments
- Previously, Spack didn't check the arguments you put in version() directives. - So, you could do something like this, where there are arguments for a URL fetcher AND for a git fetcher: version('1.0', md5='abc123', git='https://foo.bar', commit='feda2343') - Now, we check the arguments before constructing a fetcher, to ensure that each package has *only* arguments for a single type of fetcher. - Also added `test_package_version_consistency()` to the `package_sanity` test, so that all builtin packages are required to have valid `version()` directives.
Diffstat (limited to 'bin/spack-python')
0 files changed, 0 insertions, 0 deletions