Skip to content

Commit f5315bd

Browse files
authored
[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
1 parent ef9d04f commit f5315bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ def isUbuntu18_04():
2020
with open(path) as f:
2121
contents = f.read()
2222
if "Ubuntu 18.04" in contents:
23-
return True
23+
return "Ubuntu 18.04 is not supported."
2424

25-
return False
25+
return None
2626

2727

2828
class TestRerunExprDylib(TestBase):

0 commit comments

Comments
 (0)