view: test that extension paths exist

This commit is contained in:
Ben Boeckel
2017-10-26 14:04:54 -04:00
committed by scheibelp
parent a06c6b0366
commit 13b669de8e
3 changed files with 29 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *
import os.path
class Extension1(Package):
@@ -38,3 +39,5 @@ class Extension1(Package):
def install(self, spec, prefix):
mkdirp(prefix.bin)
with open(os.path.join(prefix.bin, 'extension1'), 'w+'):
pass

View File

@@ -23,6 +23,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *
import os.path
class Extension2(Package):
@@ -39,3 +40,5 @@ class Extension2(Package):
def install(self, spec, prefix):
mkdirp(prefix.bin)
with open(os.path.join(prefix.bin, 'extension2'), 'w+'):
pass