summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/package.py2
-rw-r--r--lib/spack/spack/test/build_systems.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index b333c7e0c2..742349aa62 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -1166,11 +1166,13 @@ class PackageBase(with_metaclass(PackageMeta, PackageViewMixin, object)):
#
# GNU Make:
# make: *** No rule to make target `test'. Stop.
+ # *** No rule to make target 'test'. Stop.
#
# BSD Make:
# make: don't know how to make test. Stop
missing_target_msgs = [
"No rule to make target `{0}'. Stop.",
+ "No rule to make target '{0}'. Stop.",
"don't know how to make {0}. Stop",
]
diff --git a/lib/spack/spack/test/build_systems.py b/lib/spack/spack/test/build_systems.py
index 8915b813cb..adf40ca316 100644
--- a/lib/spack/spack/test/build_systems.py
+++ b/lib/spack/spack/test/build_systems.py
@@ -59,6 +59,7 @@ def test_affirmative_make_check(directory, config, mock_packages):
'directory',
glob.iglob(os.path.join(DATA_PATH, 'make', 'negative', '*'))
)
+@pytest.mark.regression('9067')
def test_negative_make_check(directory, config, mock_packages):
"""Tests that Spack correctly ignores false positives in a Makefile."""