summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/warpx/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/warpx/package.py b/var/spack/repos/builtin/packages/warpx/package.py
index 03d0e3884d..b5cb9ef7ef 100644
--- a/var/spack/repos/builtin/packages/warpx/package.py
+++ b/var/spack/repos/builtin/packages/warpx/package.py
@@ -158,7 +158,7 @@ class Warpx(CMakePackage):
"""Checks after the build phase"""
if '+app' not in self.spec:
print("WarpX check skipped: requires variant +app")
- pass
+ return
with working_dir("spack-check", create=True):
cli_args = self._get_input_options(False)
@@ -175,7 +175,7 @@ class Warpx(CMakePackage):
"""Perform smoke tests on the installed package."""
if '+app' not in self.spec:
print("WarpX smoke tests skipped: requires variant +app")
- pass
+ return
# our executable names are a variant-dependent and naming evolves
exe = find(self.prefix.bin, 'warpx.*', recursive=False)[0]