diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-10-01 23:32:36 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-10-03 16:55:53 -0700 |
commit | da84764e97ead919bee7fb02d469c25a6b03ab63 (patch) | |
tree | 748059d635e1f55162cdafc94e9100b573f88fa7 /var | |
parent | c74cd63389eff149d8c0db4f7d68d173a72b48b3 (diff) | |
download | spack-da84764e97ead919bee7fb02d469c25a6b03ab63.tar.gz spack-da84764e97ead919bee7fb02d469c25a6b03ab63.tar.bz2 spack-da84764e97ead919bee7fb02d469c25a6b03ab63.tar.xz spack-da84764e97ead919bee7fb02d469c25a6b03ab63.zip |
Add test case for git fetching.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/mock_packages/git-test/package.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/mock_packages/git-test/package.py b/var/spack/mock_packages/git-test/package.py new file mode 100644 index 0000000000..689185463c --- /dev/null +++ b/var/spack/mock_packages/git-test/package.py @@ -0,0 +1,10 @@ +from spack import * + +class GitTest(Package): + """Mock package that uses git for fetching.""" + homepage = "http://www.git-fetch-example.com" + + version('git', git='to-be-filled-in-by-test') + + def install(self, spec, prefix): + pass |