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.
2 parents ecfb83a + 2126595 commit 34f5808Copy full SHA for 34f5808
lldb/test/API/lang/swift/tripleDetection/TestSwiftTripleDetection.py
@@ -25,6 +25,16 @@ def test(self):
25
bkpt = target.BreakpointCreateByName("main")
26
process = target.LaunchSimple(None, None, self.get_process_working_directory())
27
self.expect("expression 1")
28
+ with open(types_log) as f:
29
+ import sys
30
+ for line in f:
31
+ s = ""
32
+ for c in line:
33
+ if ord(c) > 127:
34
+ s += '\\'+str(ord(c))
35
+ else:
36
+ s+=c
37
+ sys.stderr.write(line)
38
self.filecheck('platform shell cat "%s"' % types_log, __file__)
39
# CHECK: {{SwiftASTContextForExpressions.*Module triple: ".*-apple-macos.[0-9.]+"}}
40
# CHECK: {{SwiftASTContextForExpressions.*Target triple: ".*-apple-macos-unknown"}}
0 commit comments