summaryrefslogtreecommitdiff
path: root/test cases/common/42 subproject/test.json
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-09-02 06:40:04 +0200
committerEli Schwartz <eschwartz93@gmail.com>2025-09-09 09:23:04 -0400
commite0ea239397ab585c8490ca704b14ce2bf66ed7c4 (patch)
tree2093dc60ddf4676990aa0ed2e5cb2549e340513a /test cases/common/42 subproject/test.json
parent6174a49522cb3d7b9f925d96ca68c390cb833594 (diff)
downloadmeson-e0ea239397ab585c8490ca704b14ce2bf66ed7c4.tar.gz
msetup: not-found subprojects do not have known options
If a subproject had its SubprojectHolder created, but was disabled, its options were not parsed; therefore the subproject should not be checked for unknown options. Fixes: #14969 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'test cases/common/42 subproject/test.json')
-rw-r--r--test cases/common/42 subproject/test.json9
1 files changed, 8 insertions, 1 deletions
diff --git a/test cases/common/42 subproject/test.json b/test cases/common/42 subproject/test.json
index e469052f4..7400ff4a0 100644
--- a/test cases/common/42 subproject/test.json
+++ b/test cases/common/42 subproject/test.json
@@ -7,5 +7,12 @@
{"type": "file", "file": "usr/share/sublib/COPYING"},
{"type": "file", "file": "usr/share/sublib/subprojects/sublib/sublicense1.txt"},
{"type": "file", "file": "usr/share/sublib/subprojects/sublib/sublicense2.txt"}
- ]
+ ],
+ "matrix": {
+ "options": {
+ "subunused:opt1": [
+ { "val": "42" }
+ ]
+ }
+ }
}