summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2017-10-26 14:04:54 -0400
committerscheibelp <scheibel1@llnl.gov>2017-11-02 18:45:40 -0700
commit13b669de8efad6a2d61717257df0d8fd986f75f9 (patch)
tree7406524d86f0e42b882059767ff7b432dfb9db11 /var
parenta06c6b0366a0d35b259556ab88fa9f4244bc7e97 (diff)
downloadspack-13b669de8efad6a2d61717257df0d8fd986f75f9.tar.gz
spack-13b669de8efad6a2d61717257df0d8fd986f75f9.tar.bz2
spack-13b669de8efad6a2d61717257df0d8fd986f75f9.tar.xz
spack-13b669de8efad6a2d61717257df0d8fd986f75f9.zip
view: test that extension paths exist
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin.mock/packages/extension1/package.py3
-rw-r--r--var/spack/repos/builtin.mock/packages/extension2/package.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/extension1/package.py b/var/spack/repos/builtin.mock/packages/extension1/package.py
index 6a1e600ba9..c9837bde90 100644
--- a/var/spack/repos/builtin.mock/packages/extension1/package.py
+++ b/var/spack/repos/builtin.mock/packages/extension1/package.py
@@ -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
diff --git a/var/spack/repos/builtin.mock/packages/extension2/package.py b/var/spack/repos/builtin.mock/packages/extension2/package.py
index 55a9d8baca..5616d4c3ca 100644
--- a/var/spack/repos/builtin.mock/packages/extension2/package.py
+++ b/var/spack/repos/builtin.mock/packages/extension2/package.py
@@ -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