From f895c2b7eb719aba93bbafba22a68f8352383c9e Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 26 Aug 2025 11:52:02 +0200 Subject: Revert "test cases: do not pass global option on command line" This reverts commit 9b1eb8b8ed434d1c2fdca0d8ac46b79c9b91bb0f. It is not needed anymore since the pre-1.8 semantics were the good ones. Only leave in place the new and clearer testcase names. --- test cases/common/223 persubproject options/meson.build | 2 +- test cases/common/223 persubproject options/test.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 test cases/common/223 persubproject options/test.json diff --git a/test cases/common/223 persubproject options/meson.build b/test cases/common/223 persubproject options/meson.build index abe3bee7e..25a01008a 100644 --- a/test cases/common/223 persubproject options/meson.build +++ b/test cases/common/223 persubproject options/meson.build @@ -1,5 +1,5 @@ project('persubproject options', 'c', 'cpp', - default_options : ['werror=true', 'default_library=both', + default_options : ['werror=true', 'warning_level=3', 'cpp_std=c++11']) diff --git a/test cases/common/223 persubproject options/test.json b/test cases/common/223 persubproject options/test.json new file mode 100644 index 000000000..ccfa9ff5f --- /dev/null +++ b/test cases/common/223 persubproject options/test.json @@ -0,0 +1,7 @@ +{ + "matrix": { + "options": { + "default_library": [ { "val": "both" } ] + } + } +} -- cgit v1.2.3