summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-06-15 10:54:08 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-06-20 12:24:45 -0500
commit28b2e36230625a26868122b15c18253192b9ba1d (patch)
tree86aee1c74b94bf10b2b47962b5bdb48f975b8a6d
parentafff40e584364a0707ee1bee54b8f72b0335c6e5 (diff)
downloadspack-28b2e36230625a26868122b15c18253192b9ba1d.tar.gz
spack-28b2e36230625a26868122b15c18253192b9ba1d.tar.bz2
spack-28b2e36230625a26868122b15c18253192b9ba1d.tar.xz
spack-28b2e36230625a26868122b15c18253192b9ba1d.zip
Add ctest executable
-rw-r--r--lib/spack/spack/build_environment.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index 901ba1608d..66faee1409 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -321,6 +321,7 @@ def set_module_variables_for_package(pkg, module):
# TODO: Currently, everything is a link dependency, but tools like
# TODO: this shouldn't be.
m.cmake = Executable('cmake')
+ m.ctest = Executable('ctest')
# standard CMake arguments
m.std_cmake_args = ['-DCMAKE_INSTALL_PREFIX=%s' % pkg.prefix,