summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/virtest/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/virtest/package.py b/var/spack/repos/builtin/packages/virtest/package.py
index c1fe879af8..678683946c 100644
--- a/var/spack/repos/builtin/packages/virtest/package.py
+++ b/var/spack/repos/builtin/packages/virtest/package.py
@@ -17,6 +17,11 @@ class Virtest(CMakePackage):
version('master', branch='master')
+ def patch(self):
+ script = FileFilter('tests/CMakeLists.txt')
+ script.filter(r' *\${CMAKE_CTEST_COMMAND} -V -R \${target}',
+ '${CMAKE_CTEST_COMMAND} -V -R "^${target}$"')
+
def setup_run_environment(self, env):
env.prepend_path('CPATH', self.prefix.include.vir)