summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin.mock/packages/b/package.py4
-rw-r--r--var/spack/repos/builtin.mock/packages/multivalue-variant/package.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin.mock/packages/b/package.py b/var/spack/repos/builtin.mock/packages/b/package.py
index 06d8286085..1685711825 100644
--- a/var/spack/repos/builtin.mock/packages/b/package.py
+++ b/var/spack/repos/builtin.mock/packages/b/package.py
@@ -15,4 +15,8 @@ class B(Package):
version("1.0", md5="0123456789abcdef0123456789abcdef")
version("0.9", md5="abcd456789abcdef0123456789abcdef")
+ variant(
+ "foo", description="", values=any_combination_of("bar", "baz", "fee").with_default("bar")
+ )
+
depends_on("test-dependency", type="test")
diff --git a/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py b/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
index 1366463241..b0f7ac9501 100644
--- a/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
+++ b/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
@@ -19,7 +19,7 @@ class MultivalueVariant(Package):
variant(
"foo",
description="Multi-valued variant",
- values=any_combination_of("bar", "baz", "barbaz"),
+ values=any_combination_of("bar", "baz", "barbaz", "fee"),
)
variant(