Skip to content

Commit 907e00a

Browse files
authored
[lldb][test] Enable TestRerunAndExprDyLib (llvm#11530)
* [lldb][test] Re-enable `TestRerunAndExprDylib.py` (llvm#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. (cherry picked from commit f5315bd) * [lldb][test] skip test `TestRerunAndExprDylib.py` on remote (llvm#157916) (cherry picked from commit 55e99ef)
1 parent ce4568d commit 907e00a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ 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):
2929
@skipTestIfFn(isUbuntu18_04, bugnumber="rdar://103831050")
3030
@skipIfWindows
31+
@skipIfRemote
3132
def test(self):
3233
"""
3334
Tests whether re-launching a process without destroying

0 commit comments

Comments
 (0)