We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50d2a19 commit cd4180dCopy full SHA for cd4180d
lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py
@@ -9,7 +9,24 @@
9
from lldbsuite.test import lldbutil
10
from lldbsuite.test.decorators import *
11
12
+
13
+def isUbuntu18_04():
14
+ """
15
+ Check if the host OS is Ubuntu 18.04.
16
+ Derived from `platform.freedesktop_os_release` in Python 3.10.
17
18
+ for path in ("/etc/os-release", "/usr/lib/os-release"):
19
+ if os.path.exists(path):
20
+ with open(path) as f:
21
+ contents = f.read()
22
+ if "Ubuntu 18.04" in contents:
23
+ return True
24
25
+ return False
26
27
28
class TestRerunExprDylib(TestBase):
29
+ @skipTestIfFn(isUbuntu18_04, bugnumber="rdar://103831050")
30
@skipIfWindows
31
def test(self):
32
"""
0 commit comments