[Lldb-commits] [lldb] f5315bd - [lldb][test] Re-enable `TestRerunAndExprDylib.py` (#157872)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 10 09:23:21 PDT 2025
Author: Ebuka Ezike
Date: 2025-09-10T17:23:17+01:00
New Revision: f5315bd135b6e65ebfb0d27f6333501c3a4b32b3
URL: https://github.com/llvm/llvm-project/commit/f5315bd135b6e65ebfb0d27f6333501c3a4b32b3
DIFF: https://github.com/llvm/llvm-project/commit/f5315bd135b6e65ebfb0d27f6333501c3a4b32b3.diff
LOG: [lldb][test] Re-enable `TestRerunAndExprDylib.py` (#157872)
the `skipTestIfFn` requires a function that return a string to skip or
None to run the test. The `isUbuntu18_04` function returns a bool and
the test is skipped on all platforms.
https://github.com/llvm/llvm-project/blob/25ebdfe0ab202a6cb30232d84bc5838439fd67d5/lldb/packages/Python/lldbsuite/test/decorators.py#L145-L157
Added:
Modified:
lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py b/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py
index 74e7c895c0fab..a8f98ef0f0182 100644
--- a/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py
+++ b/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py
@@ -20,9 +20,9 @@ def isUbuntu18_04():
with open(path) as f:
contents = f.read()
if "Ubuntu 18.04" in contents:
- return True
+ return "Ubuntu 18.04 is not supported."
- return False
+ return None
class TestRerunExprDylib(TestBase):
More information about the lldb-commits
mailing list