llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Charles Zablit (charles-zablit)

<details>
<summary>Changes</summary>

This is a follow up to https://github.com/llvm/llvm-project/pull/212753 to 
convert the `lang` tests to use the `@<!-- -->require` decorator.

---

Patch is 48.36 KiB, truncated to 20.00 KiB below, full version: 
https://github.com/llvm/llvm-project/pull/213466.diff


75 Files Affected:

- (modified) lldb/test/API/lang/c/anonymous/TestAnonymous.py (+1-1) 
- (modified) lldb/test/API/lang/c/blocks/TestBlocks.py (+3-3) 
- (modified) 
lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py (+1-1) 
- (modified) lldb/test/API/lang/c/enum_types/TestEnumTypes.py (+1-1) 
- (modified) lldb/test/API/lang/c/fpeval/TestFPEval.py (+1-1) 
- (modified) lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py 
(+1-1) 
- (modified) lldb/test/API/lang/c/function_types/TestFunctionTypes.py (+1-1) 
- (modified) lldb/test/API/lang/c/libc_calls/TestLibcCalls.py (+2-2) 
- (modified) lldb/test/API/lang/c/modules/TestCModules.py (+1-1) 
- (modified) lldb/test/API/lang/c/sizeof/TestCSizeof.py (+1-1) 
- (modified) lldb/test/API/lang/c/strings/TestCStrings.py (+1-1) 
- (modified) lldb/test/API/lang/c/struct_types/TestStructTypes.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py 
(+3-3) 
- (modified) lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py 
(+1-1) 
- (modified) lldb/test/API/lang/cpp/auto/TestCPPAuto.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
 (+1-1) 
- (modified) lldb/test/API/lang/cpp/constructors/TestCppConstructors.py (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/covariant-return-types/TestCovariantReturnTypes.py 
(+1-1) 
- (modified) 
lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py 
(+1-1) 
- (modified) 
lldb/test/API/lang/cpp/expression-context-qualifiers/const_method/TestExprInConstMethod.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/expression-context-qualifiers/cv_qualified_objects/TestExprOnCVQualifiedObjects.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/expression-context-qualifiers/non_const_method/TestExprInNonConstMethod.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/expression-context-qualifiers/template_const_method/TestExprInTemplateConstMethod.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/expression-context-qualifiers/template_non_const_method/TestExprInTemplateNonConstMethod.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/floating-types-specialization/TestCppFloatingTypesSpecialization.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/function-call-from-object-file/TestFunctionCallFromObjectFile.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/function-ref-qualifiers/TestCppFunctionRefQualifiers.py 
(+1-1) 
- (modified) lldb/test/API/lang/cpp/global_operators/TestCppGlobalOperators.py 
(+1-1) 
- (modified) lldb/test/API/lang/cpp/llvm-style/TestLLVMStyle.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/modules-import/TestCXXModulesImport.py 
(+2-2) 
- (modified) 
lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py 
(+1-1) 
- (modified) lldb/test/API/lang/cpp/namespace/TestNamespace.py (+2-2) 
- (modified) lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py (+3-3) 
- (modified) 
lldb/test/API/lang/cpp/namespace_conflicts/TestNamespaceConflicts.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/operators/TestCppOperators.py (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/TestPointerToMemberTypeDependingOnParentSize.py
 (+1-1) 
- (modified) lldb/test/API/lang/cpp/printf/TestPrintf.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/rvalue-references/TestRvalueReferences.py 
(+1-1) 
- (modified) lldb/test/API/lang/cpp/scope/TestCppScope.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py 
(+3-3) 
- (modified) lldb/test/API/lang/cpp/static_methods/TestCPPStaticMethods.py 
(+1-1) 
- (modified) lldb/test/API/lang/cpp/symbols/TestSymbols.py (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/template-diagnostic-hint/TestTemplateDiagnosticHint.py 
(+1-1) 
- (modified) lldb/test/API/lang/cpp/template-function/TestTemplateFunctions.py 
(+1-1) 
- (modified) lldb/test/API/lang/cpp/this/TestCPPThis.py (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/this_class_type_mixing/TestThisClassTypeMixing.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/typedef/TestCppTypedef.py (+1-1) 
- (modified) lldb/test/API/lang/cpp/unicode-literals/TestUnicodeLiterals.py 
(+1-1) 
- (modified) 
lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py 
(+1-1) 
- (modified) lldb/test/API/lang/cpp/unique-types4/TestUniqueTypes4.py (+1-1) 
- (modified) 
lldb/test/API/lang/cpp/virtual-functions/TestCppVirtualFunctions.py (+1-1) 
- (modified) 
lldb/test/API/lang/objc/complete-type-check/TestObjCIsTypeComplete.py (+1-1) 
- (modified) 
lldb/test/API/lang/objc/conflicting-class-list-function-from-user/TestObjCClassListFunctionFromUser.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/objc/cpp_keyword_identifiers/TestCppKeywordsAsObjCIdentifiers.py
 (+1-1) 
- (modified) 
lldb/test/API/lang/objc/languageinfo/TestObjCLanguageSpecificData.py (+1-1) 
- (modified) 
lldb/test/API/lang/objc/module-import-log/TestClangModuleImportLog.py (+1-1) 
- (modified) lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py 
(+1-1) 
- (modified) lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py (+1-1) 
- (modified) lldb/test/API/lang/objc/orderedset/TestOrderedSet.py (+1-1) 
- (modified) 
lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py
 (+2-2) 
- (modified) 
lldb/test/API/lang/objc/tagged-pointer-children/TestTaggedPointerChildren.py 
(+2-2) 
- (modified) 
lldb/test/API/lang/objc/warnings-in-expr-parser/TestObjCWarningsInExprParser.py 
(+1-1) 
- (modified) 
lldb/test/API/lang/objcxx/cpp_keywords_enabled/TestObjCppKeywordsEnabled.py 
(+1-1) 


``````````diff
diff --git a/lldb/test/API/lang/c/anonymous/TestAnonymous.py 
b/lldb/test/API/lang/c/anonymous/TestAnonymous.py
index 8e74a72326bdb..644c82c8e4438 100644
--- a/lldb/test/API/lang/c/anonymous/TestAnonymous.py
+++ b/lldb/test/API/lang/c/anonymous/TestAnonymous.py
@@ -74,7 +74,7 @@ def test_expr_parent(self):
             substrs=["(type_y) $", "dummy = 2"],
         )
 
-    @skipIfWasm  # no expression evaluation
+    @requireNotWasm  # no expression evaluation
     def test_expr_null(self):
         self.build()
         self.common_setup(self.line2)
diff --git a/lldb/test/API/lang/c/blocks/TestBlocks.py 
b/lldb/test/API/lang/c/blocks/TestBlocks.py
index f16e35a09adcf..0f9e2d402e5cf 100644
--- a/lldb/test/API/lang/c/blocks/TestBlocks.py
+++ b/lldb/test/API/lang/c/blocks/TestBlocks.py
@@ -6,9 +6,9 @@
 import lldbsuite.test.lldbutil as lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class BlocksTestCase(TestBase):
-    @skipUnlessDarwin
+    @requireDarwin
     def test(self):
         self.build()
         src = lldb.SBFileSpec("main.c")
@@ -52,7 +52,7 @@ def test(self):
         self.expect_expr("*captured_ptr", result_type="int", result_value="42")
         self.expect_expr("captured_struct.x", result_type="int", 
result_value="10")
 
-    @skipUnlessDarwin
+    @requireDarwin
     def test_define(self):
         """Test defining and calling a block from the expression evaluator."""
         self.build()
diff --git 
a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py 
b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py
index 00917c5230e20..4c922c91c60c0 100644
--- a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py
+++ b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py
@@ -87,7 +87,7 @@ def test_pascal(self):
             return
         self.expect_expr("func(1, 2, 3, 4)", result_type="int", 
result_value="10")
 
-    @skipIfWasm  # no expression evaluation
+    @requireNotWasm  # no expression evaluation
     def test_sysv_abi(self):
         if not self.build_and_run("sysv_abi.c"):
             return
diff --git a/lldb/test/API/lang/c/enum_types/TestEnumTypes.py 
b/lldb/test/API/lang/c/enum_types/TestEnumTypes.py
index e8d29d23cdaa2..b072f8ad23eee 100644
--- a/lldb/test/API/lang/c/enum_types/TestEnumTypes.py
+++ b/lldb/test/API/lang/c/enum_types/TestEnumTypes.py
@@ -14,7 +14,7 @@ def setUp(self):
         # Find the line number to break inside main().
         self.line = line_number("main.c", "// Set break point at this line.")
 
-    @skipIfWasm  # no expression evaluation
+    @requireNotWasm  # no expression evaluation
     def test_command_line(self):
         """Test 'image lookup -t enum_test_days' and check for correct display 
and enum value printing."""
         self.build()
diff --git a/lldb/test/API/lang/c/fpeval/TestFPEval.py 
b/lldb/test/API/lang/c/fpeval/TestFPEval.py
index 1b5f4e7199a07..c518cdb32777d 100644
--- a/lldb/test/API/lang/c/fpeval/TestFPEval.py
+++ b/lldb/test/API/lang/c/fpeval/TestFPEval.py
@@ -6,7 +6,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class FPEvalTestCase(TestBase):
     def setUp(self):
         # Call super's setUp().
diff --git a/lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py 
b/lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py
index 95c174c5efb33..24d0105895021 100644
--- a/lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py
+++ b/lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py
@@ -11,7 +11,7 @@ class TestFullLtoStepping(TestBase):
     @skipIfAsan
     @skipIf(compiler=no_match("clang"))
     @skipIf(compiler="clang", compiler_version=["<", "13.0"])
-    @skipUnlessDarwin
+    @requireDarwin
     def test(self):
         self.build()
         _, _, thread, _ = lldbutil.run_to_name_breakpoint(self, "main")
diff --git a/lldb/test/API/lang/c/function_types/TestFunctionTypes.py 
b/lldb/test/API/lang/c/function_types/TestFunctionTypes.py
index ad47504e00b88..4a4dee16d1e66 100644
--- a/lldb/test/API/lang/c/function_types/TestFunctionTypes.py
+++ b/lldb/test/API/lang/c/function_types/TestFunctionTypes.py
@@ -7,7 +7,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class FunctionTypesTestCase(TestBase):
     def setUp(self):
         # Call super's setUp().
diff --git a/lldb/test/API/lang/c/libc_calls/TestLibcCalls.py 
b/lldb/test/API/lang/c/libc_calls/TestLibcCalls.py
index 8ed468f570155..5bfd7232f13bb 100644
--- a/lldb/test/API/lang/c/libc_calls/TestLibcCalls.py
+++ b/lldb/test/API/lang/c/libc_calls/TestLibcCalls.py
@@ -15,7 +15,7 @@
 class LibcCallsTestCase(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
-    @skipUnlessDarwin
+    @requireDarwin
     @skipIfRemote
     def test_libc_funcs_do_not_resolve_to_dyld(self):
         """The JIT-resolved address of each libc function must not lie in
@@ -54,7 +54,7 @@ def test_libc_funcs_do_not_resolve_to_dyld(self):
                     resolved_module_name, "dyld", f"Called dyld version of 
{symbol}"
                 )
 
-    @skipIfWasm  # no expression evaluation
+    @requireNotWasm  # no expression evaluation
     def test_libc_calls_succeed(self):
         """Calling memset/memcpy/memmove/memcmp from expressions must
         execute without trapping."""
diff --git a/lldb/test/API/lang/c/modules/TestCModules.py 
b/lldb/test/API/lang/c/modules/TestCModules.py
index 152ace6abb12f..349e0d5b09829 100644
--- a/lldb/test/API/lang/c/modules/TestCModules.py
+++ b/lldb/test/API/lang/c/modules/TestCModules.py
@@ -9,7 +9,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class CModulesTestCase(TestBase):
     @expectedFailureAll(
         oslist=["freebsd", "linux"],
diff --git a/lldb/test/API/lang/c/sizeof/TestCSizeof.py 
b/lldb/test/API/lang/c/sizeof/TestCSizeof.py
index acb1872cf32b0..ee5ff57388b7b 100644
--- a/lldb/test/API/lang/c/sizeof/TestCSizeof.py
+++ b/lldb/test/API/lang/c/sizeof/TestCSizeof.py
@@ -4,7 +4,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     def test(self):
         self.build()
diff --git a/lldb/test/API/lang/c/strings/TestCStrings.py 
b/lldb/test/API/lang/c/strings/TestCStrings.py
index 86668a6e3c238..19ae41335984e 100644
--- a/lldb/test/API/lang/c/strings/TestCStrings.py
+++ b/lldb/test/API/lang/c/strings/TestCStrings.py
@@ -7,7 +7,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class CStringsTestCase(TestBase):
     def test_with_run_command(self):
         """Tests that C strings work as expected in expressions"""
diff --git a/lldb/test/API/lang/c/struct_types/TestStructTypes.py 
b/lldb/test/API/lang/c/struct_types/TestStructTypes.py
index 0dcbd0979d5a3..ba20388ea8d26 100644
--- a/lldb/test/API/lang/c/struct_types/TestStructTypes.py
+++ b/lldb/test/API/lang/c/struct_types/TestStructTypes.py
@@ -1,4 +1,4 @@
 from lldbsuite.test import lldbinline
 from lldbsuite.test import decorators
 
-lldbinline.MakeInlineTest(__file__, globals(), [decorators.skipIfWasm])
+lldbinline.MakeInlineTest(__file__, globals(), [decorators.requireNotWasm])
diff --git a/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py 
b/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py
index 94923046e0ba4..1eac857773024 100644
--- a/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py
+++ b/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py
@@ -18,7 +18,7 @@ class AbiTagStructorsTestCase(TestBase):
         bugnumber="Required Clang flag not supported",
     )
     @expectedFailureAll(oslist=["windows"])
-    @skipIfWasm  # no expression evaluation
+    @requireNotWasm  # no expression evaluation
     def test_with_structor_linkage_names(self):
         self.build(dictionary={"CXXFLAGS_EXTRAS": 
"-gstructor-decl-linkage-names"})
 
@@ -124,13 +124,13 @@ def do_nested_structor_test(self):
 
     @skipIf(compiler="clang", compiler_version=["<", "22"])
     @expectedFailureAll(oslist=["windows"])
-    @skipIfWasm  # no expression evaluation
+    @requireNotWasm  # no expression evaluation
     def test_nested_with_structor_linkage_names(self):
         self.build(dictionary={"CXXFLAGS_EXTRAS": 
"-gstructor-decl-linkage-names"})
         self.do_nested_structor_test()
 
     @expectedFailureAll(oslist=["windows"])
-    @skipIfWasm  # no expression evaluation
+    @requireNotWasm  # no expression evaluation
     def test_nested_no_structor_linkage_names(self):
         # In older versions of Clang the -gno-structor-decl-linkage-names
         # behaviour was the default.
diff --git a/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py 
b/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py
index 0f21806da6bd3..dc015f1946ed2 100644
--- a/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py
+++ b/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py
@@ -5,7 +5,7 @@
 
 
 class CPPAcceleratorTableTestCase(TestBase):
-    @skipUnlessDarwin
+    @requireDarwin
     @skipIf(debug_info=no_match(["dwarf"]))
     @skipIf(dwarf_version=[">=", "5"])
     def test(self):
diff --git a/lldb/test/API/lang/cpp/auto/TestCPPAuto.py 
b/lldb/test/API/lang/cpp/auto/TestCPPAuto.py
index 3b1445897481e..860b83e2a0a85 100644
--- a/lldb/test/API/lang/cpp/auto/TestCPPAuto.py
+++ b/lldb/test/API/lang/cpp/auto/TestCPPAuto.py
@@ -7,7 +7,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class CPPAutoTestCase(TestBase):
     def test_with_run_command(self):
         """Test that auto types work in the expression parser"""
diff --git a/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py 
b/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py
index f422bc691e225..6f4933fbe7cb8 100644
--- a/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py
+++ b/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py
@@ -8,7 +8,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class CallCPPFunctionTestCase(TestBase):
     def setUp(self):
         TestBase.setUp(self)
diff --git a/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py 
b/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py
index 0765a66bfefc5..161cdf1611408 100644
--- a/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py
+++ b/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py
@@ -4,7 +4,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCppChainedCalls(TestBase):
     def test_with_run_command(self):
         self.build()
diff --git 
a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
 
b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
index 57cda83f94502..819d2174de641 100644
--- 
a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
+++ 
b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
@@ -4,7 +4,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     def test(self):
         self.build()
diff --git 
a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
 
b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
index 6558e8a88c044..eb3b8c85c2b44 100644
--- 
a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
+++ 
b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
@@ -11,7 +11,7 @@
 class TestCase(TestBase):
     SHARED_BUILD_TESTCASE = False
 
-    @skipIfWasm  # no expression evaluation
+    @requireNotWasm  # no expression evaluation
     def test(self):
         self.build()
         lldbutil.run_to_source_breakpoint(
diff --git 
a/lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
 
b/lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
index c36154e5770ed..6c6ec6aeb490b 100644
--- 
a/lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
+++ 
b/lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
@@ -9,7 +9,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     # int128 is not available on 32-bit ARM.
     @skipIf(archs=["arm$"])
diff --git a/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py 
b/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py
index 1f7e25517e765..83b20812e1205 100644
--- a/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py
+++ b/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py
@@ -4,7 +4,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     @expectedFailureAll(bugnumber="llvm.org/pr50814", compiler="gcc")
     def test_constructors(self):
diff --git 
a/lldb/test/API/lang/cpp/covariant-return-types/TestCovariantReturnTypes.py 
b/lldb/test/API/lang/cpp/covariant-return-types/TestCovariantReturnTypes.py
index 2dcba86f2d352..d7c992beb6181 100644
--- a/lldb/test/API/lang/cpp/covariant-return-types/TestCovariantReturnTypes.py
+++ b/lldb/test/API/lang/cpp/covariant-return-types/TestCovariantReturnTypes.py
@@ -4,7 +4,7 @@
 import lldbsuite.test.lldbutil as lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
diff --git 
a/lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py 
b/lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py
index 590524147bbb5..ed2f85877514c 100644
--- a/lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py
+++ b/lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py
@@ -8,7 +8,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class DeclFromSubmoduleTestCase(TestBase):
     # Requires DWARF debug info which is not retained when linking with 
link.exe.
     @skipIfWindows
diff --git 
a/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py 
b/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py
index 7b5417b60040b..72f44079e56e5 100644
--- a/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py
+++ b/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py
@@ -8,7 +8,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestDefaultTemplateArgs(TestBase):
     @no_debug_info_test
     def test(self):
diff --git a/lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py 
b/lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py
index 4e0c0a088c909..a380d6bdcf53d 100644
--- a/lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py
+++ b/lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py
@@ -56,7 +56,7 @@ def test(self):
         self.build()
         self.check_all(self.dbg.CreateTarget(self.getBuildArtifact("a.out")))
 
-    @skipUnlessPlatform(["windows"])
+    @requireWindows
     @skipUnlessMSVC
     @no_debug_info_test  # We only test MSVC
     def test_msvc(self):
diff --git a/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py 
b/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
index 22db417e862ea..27b690605cca8 100644
--- a/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
+++ b/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
@@ -9,7 +9,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # wasm inferiors are built with -fno-exceptions
+@requireNotWasm  # wasm inferiors are built with -fno-exceptions
 class CPPBreakpointTestCase(TestBase):
     def setUp(self):
         # Call super's setUp().
diff --git 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/const_method/TestExprInConstMethod.py
 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/const_method/TestExprInConstMethod.py
index a830bbc7fd6d8..0ce0ff8f9d86f 100644
--- 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/const_method/TestExprInConstMethod.py
+++ 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/const_method/TestExprInConstMethod.py
@@ -4,7 +4,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     def test(self):
         self.build()
diff --git 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py
 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py
index aacac82d2d7bc..4ffedb33c42f9 100644
--- 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py
+++ 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py
@@ -4,7 +4,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     def test(self):
         self.build()
diff --git 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/cv_qualified_objects/TestExprOnCVQualifiedObjects.py
 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/cv_qualified_objects/TestExprOnCVQualifiedObjects.py
index ce1a19d896c59..31b7fb0982359 100644
--- 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/cv_qualified_objects/TestExprOnCVQualifiedObjects.py
+++ 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/cv_qualified_objects/TestExprOnCVQualifiedObjects.py
@@ -4,7 +4,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     def test(self):
         self.build()
diff --git 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/non_const_method/TestExprInNonConstMethod.py
 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/non_const_method/TestExprInNonConstMethod.py
index f75b800e0ef95..b30c23ed49aee 100644
--- 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/non_const_method/TestExprInNonConstMethod.py
+++ 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/non_const_method/TestExprInNonConstMethod.py
@@ -4,7 +4,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     def test(self):
         self.build()
diff --git 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/template_const_method/TestExprInTemplateConstMethod.py
 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/template_const_method/TestExprInTemplateConstMethod.py
index cb07bbe23582d..3fd749d785eab 100644
--- 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/template_const_method/TestExprInTemplateConstMethod.py
+++ 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/template_const_method/TestExprInTemplateConstMethod.py
@@ -4,7 +4,7 @@
 from lldbsuite.test import lldbutil
 
 
-@skipIfWasm  # no expression evaluation
+@requireNotWasm  # no expression evaluation
 class TestCase(TestBase):
     def test(self):
         self.build()
diff --git 
a/lldb/test/API/lang/cpp/expression-context-qualifiers/template_non_const_method/TestExprInTemplateNonConstMethod.py
 
b/lldb/test/API/lang/cpp/expression-context-qualifiers/template_non_const_method/TestExprInTemplateNonConstMethod.py
index 264451c017b58..1dd8c3816df3b 100644
--- a/lldb/test/API/lang/cpp/expression-context-qualifier...
[truncated]

``````````

</details>


https://github.com/llvm/llvm-project/pull/213466
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to