Added test for Mercurial fetching.

This commit is contained in:
Todd Gamblin
2014-10-04 18:38:47 -07:00
parent 0fa1c5b0a5
commit 37e96ff6e1
5 changed files with 174 additions and 19 deletions

View File

@@ -0,0 +1,10 @@
from spack import *
class HgTest(Package):
"""Test package that does fetching with mercurial."""
homepage = "http://www.hg-fetch-example.com"
version('hg', hg='to-be-filled-in-by-test')
def install(self, spec, prefix):
pass

View File

@@ -7,7 +7,7 @@ class Lwm2(Package):
"""
homepage = "https://jay.grs.rwth-aachen.de/redmine/projects/lwm2"
version('torus', hg='https://jay.grs.rwth-aachen.de/hg/lwm2', branch='torus')
version('torus', hg='https://jay.grs.rwth-aachen.de/hg/lwm2', revision='torus')
depends_on("papi")
depends_on("mpi")