From 3a65f28beb0fa6527b526f9461bdc76146b2bb99 Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Wed, 10 Sep 2025 15:50:11 +0100 Subject: [PATCH] [lldb][test] Re-enable `TestRerunAndExprDylib.py` 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. --- .../rerun_and_expr_dylib/TestRerunAndExprDylib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):