summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorVolker Weißmann <volker.weissmann@gmx.de>2025-07-31 16:52:35 +0200
committerJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-08-10 20:26:58 +0300
commit4b33c9cdb64f360c2ee19691baedfa4d0e32378f (patch)
tree672ce415e6a099d683d97b90b5c61bc04165dd6b /unittests
parentf2c851b6f0452cad8bbbc5838c9a0f91aecdf593 (diff)
downloadmeson-4b33c9cdb64f360c2ee19691baedfa4d0e32378f.tar.gz
rewriter: Accept UnknownValue() in more places
Fixes #14840
Diffstat (limited to 'unittests')
-rw-r--r--unittests/allplatformstests.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index f158be777..04cbfc690 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -3834,7 +3834,21 @@ class AllPlatformTests(BasePlatformTests):
'version': ['>=1.0.0', '<=99.9.9'],
'has_fallback': True,
'conditional': True
- }
+ },
+ {
+ 'conditional': False,
+ 'has_fallback': False,
+ 'name': 'unknown',
+ 'required': False,
+ 'version': 'unknown'
+ },
+ {
+ 'conditional': False,
+ 'has_fallback': False,
+ 'name': 'unknown',
+ 'required': False,
+ 'version': 'unknown'
+ },
]
self.maxDiff = None
self.assertListEqual(res_nb, expected)