summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/qmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/qmake.py b/lib/spack/spack/build_systems/qmake.py
index f18bd9812f..ca1dfc933c 100644
--- a/lib/spack/spack/build_systems/qmake.py
+++ b/lib/spack/spack/build_systems/qmake.py
@@ -81,6 +81,6 @@ class QMakeBuilder(BaseBuilder):
def check(self):
"""Search the Makefile for a ``check:`` target and runs it if found."""
with working_dir(self.build_directory):
- self._if_make_target_execute("check")
+ self.pkg._if_make_target_execute("check")
spack.builder.run_after("build")(execute_build_time_tests)